@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProfilerRuleConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Configuration information for profiling rules.
Constructor and Description |
---|
ProfilerRuleConfiguration() |
Modifier and Type | Method and Description |
---|---|
ProfilerRuleConfiguration |
addRuleParametersEntry(String key,
String value)
Add a single RuleParameters entry
|
ProfilerRuleConfiguration |
clearRuleParametersEntries()
Removes all the entries added into RuleParameters.
|
ProfilerRuleConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getInstanceType()
The instance type to deploy a custom rule for profiling a training job.
|
String |
getLocalPath()
Path to local storage location for output of rules.
|
String |
getRuleConfigurationName()
The name of the rule configuration.
|
String |
getRuleEvaluatorImage()
The Amazon Elastic Container Registry Image for the managed rule evaluation.
|
Map<String,String> |
getRuleParameters()
Runtime configuration for rule container.
|
String |
getS3OutputPath()
Path to Amazon S3 storage location for rules.
|
Integer |
getVolumeSizeInGB()
The size, in GB, of the ML storage volume attached to the processing instance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInstanceType(String instanceType)
The instance type to deploy a custom rule for profiling a training job.
|
void |
setLocalPath(String localPath)
Path to local storage location for output of rules.
|
void |
setRuleConfigurationName(String ruleConfigurationName)
The name of the rule configuration.
|
void |
setRuleEvaluatorImage(String ruleEvaluatorImage)
The Amazon Elastic Container Registry Image for the managed rule evaluation.
|
void |
setRuleParameters(Map<String,String> ruleParameters)
Runtime configuration for rule container.
|
void |
setS3OutputPath(String s3OutputPath)
Path to Amazon S3 storage location for rules.
|
void |
setVolumeSizeInGB(Integer volumeSizeInGB)
The size, in GB, of the ML storage volume attached to the processing instance.
|
String |
toString()
Returns a string representation of this object.
|
ProfilerRuleConfiguration |
withInstanceType(ProcessingInstanceType instanceType)
The instance type to deploy a custom rule for profiling a training job.
|
ProfilerRuleConfiguration |
withInstanceType(String instanceType)
The instance type to deploy a custom rule for profiling a training job.
|
ProfilerRuleConfiguration |
withLocalPath(String localPath)
Path to local storage location for output of rules.
|
ProfilerRuleConfiguration |
withRuleConfigurationName(String ruleConfigurationName)
The name of the rule configuration.
|
ProfilerRuleConfiguration |
withRuleEvaluatorImage(String ruleEvaluatorImage)
The Amazon Elastic Container Registry Image for the managed rule evaluation.
|
ProfilerRuleConfiguration |
withRuleParameters(Map<String,String> ruleParameters)
Runtime configuration for rule container.
|
ProfilerRuleConfiguration |
withS3OutputPath(String s3OutputPath)
Path to Amazon S3 storage location for rules.
|
ProfilerRuleConfiguration |
withVolumeSizeInGB(Integer volumeSizeInGB)
The size, in GB, of the ML storage volume attached to the processing instance.
|
public void setRuleConfigurationName(String ruleConfigurationName)
The name of the rule configuration. It must be unique relative to other rule configuration names.
ruleConfigurationName
- The name of the rule configuration. It must be unique relative to other rule configuration names.public String getRuleConfigurationName()
The name of the rule configuration. It must be unique relative to other rule configuration names.
public ProfilerRuleConfiguration withRuleConfigurationName(String ruleConfigurationName)
The name of the rule configuration. It must be unique relative to other rule configuration names.
ruleConfigurationName
- The name of the rule configuration. It must be unique relative to other rule configuration names.public void setLocalPath(String localPath)
Path to local storage location for output of rules. Defaults to /opt/ml/processing/output/rule/
.
localPath
- Path to local storage location for output of rules. Defaults to
/opt/ml/processing/output/rule/
.public String getLocalPath()
Path to local storage location for output of rules. Defaults to /opt/ml/processing/output/rule/
.
/opt/ml/processing/output/rule/
.public ProfilerRuleConfiguration withLocalPath(String localPath)
Path to local storage location for output of rules. Defaults to /opt/ml/processing/output/rule/
.
localPath
- Path to local storage location for output of rules. Defaults to
/opt/ml/processing/output/rule/
.public void setS3OutputPath(String s3OutputPath)
Path to Amazon S3 storage location for rules.
s3OutputPath
- Path to Amazon S3 storage location for rules.public String getS3OutputPath()
Path to Amazon S3 storage location for rules.
public ProfilerRuleConfiguration withS3OutputPath(String s3OutputPath)
Path to Amazon S3 storage location for rules.
s3OutputPath
- Path to Amazon S3 storage location for rules.public void setRuleEvaluatorImage(String ruleEvaluatorImage)
The Amazon Elastic Container Registry Image for the managed rule evaluation.
ruleEvaluatorImage
- The Amazon Elastic Container Registry Image for the managed rule evaluation.public String getRuleEvaluatorImage()
The Amazon Elastic Container Registry Image for the managed rule evaluation.
public ProfilerRuleConfiguration withRuleEvaluatorImage(String ruleEvaluatorImage)
The Amazon Elastic Container Registry Image for the managed rule evaluation.
ruleEvaluatorImage
- The Amazon Elastic Container Registry Image for the managed rule evaluation.public void setInstanceType(String instanceType)
The instance type to deploy a custom rule for profiling a training job.
instanceType
- The instance type to deploy a custom rule for profiling a training job.ProcessingInstanceType
public String getInstanceType()
The instance type to deploy a custom rule for profiling a training job.
ProcessingInstanceType
public ProfilerRuleConfiguration withInstanceType(String instanceType)
The instance type to deploy a custom rule for profiling a training job.
instanceType
- The instance type to deploy a custom rule for profiling a training job.ProcessingInstanceType
public ProfilerRuleConfiguration withInstanceType(ProcessingInstanceType instanceType)
The instance type to deploy a custom rule for profiling a training job.
instanceType
- The instance type to deploy a custom rule for profiling a training job.ProcessingInstanceType
public void setVolumeSizeInGB(Integer volumeSizeInGB)
The size, in GB, of the ML storage volume attached to the processing instance.
volumeSizeInGB
- The size, in GB, of the ML storage volume attached to the processing instance.public Integer getVolumeSizeInGB()
The size, in GB, of the ML storage volume attached to the processing instance.
public ProfilerRuleConfiguration withVolumeSizeInGB(Integer volumeSizeInGB)
The size, in GB, of the ML storage volume attached to the processing instance.
volumeSizeInGB
- The size, in GB, of the ML storage volume attached to the processing instance.public Map<String,String> getRuleParameters()
Runtime configuration for rule container.
public void setRuleParameters(Map<String,String> ruleParameters)
Runtime configuration for rule container.
ruleParameters
- Runtime configuration for rule container.public ProfilerRuleConfiguration withRuleParameters(Map<String,String> ruleParameters)
Runtime configuration for rule container.
ruleParameters
- Runtime configuration for rule container.public ProfilerRuleConfiguration addRuleParametersEntry(String key, String value)
public ProfilerRuleConfiguration clearRuleParametersEntries()
public String toString()
toString
in class Object
Object.toString()
public ProfilerRuleConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.