@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DebugRuleConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Configuration information for SageMaker Debugger rules for debugging. To learn more about how to configure the
DebugRuleConfiguration
parameter, see Use the SageMaker and
Debugger Configuration API Operations to Create, Update, and Debug Your Training Job.
Constructor and Description |
---|
DebugRuleConfiguration() |
Modifier and Type | Method and Description |
---|---|
DebugRuleConfiguration |
addRuleParametersEntry(String key,
String value)
Add a single RuleParameters entry
|
DebugRuleConfiguration |
clearRuleParametersEntries()
Removes all the entries added into RuleParameters.
|
DebugRuleConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getInstanceType()
The instance type to deploy a custom rule for debugging 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 (ECR) 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 debugging 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 (ECR) 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.
|
DebugRuleConfiguration |
withInstanceType(ProcessingInstanceType instanceType)
The instance type to deploy a custom rule for debugging a training job.
|
DebugRuleConfiguration |
withInstanceType(String instanceType)
The instance type to deploy a custom rule for debugging a training job.
|
DebugRuleConfiguration |
withLocalPath(String localPath)
Path to local storage location for output of rules.
|
DebugRuleConfiguration |
withRuleConfigurationName(String ruleConfigurationName)
The name of the rule configuration.
|
DebugRuleConfiguration |
withRuleEvaluatorImage(String ruleEvaluatorImage)
The Amazon Elastic Container (ECR) Image for the managed rule evaluation.
|
DebugRuleConfiguration |
withRuleParameters(Map<String,String> ruleParameters)
Runtime configuration for rule container.
|
DebugRuleConfiguration |
withS3OutputPath(String s3OutputPath)
Path to Amazon S3 storage location for rules.
|
DebugRuleConfiguration |
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 DebugRuleConfiguration 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 DebugRuleConfiguration 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 DebugRuleConfiguration 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 (ECR) Image for the managed rule evaluation.
ruleEvaluatorImage
- The Amazon Elastic Container (ECR) Image for the managed rule evaluation.public String getRuleEvaluatorImage()
The Amazon Elastic Container (ECR) Image for the managed rule evaluation.
public DebugRuleConfiguration withRuleEvaluatorImage(String ruleEvaluatorImage)
The Amazon Elastic Container (ECR) Image for the managed rule evaluation.
ruleEvaluatorImage
- The Amazon Elastic Container (ECR) Image for the managed rule evaluation.public void setInstanceType(String instanceType)
The instance type to deploy a custom rule for debugging a training job.
instanceType
- The instance type to deploy a custom rule for debugging a training job.ProcessingInstanceType
public String getInstanceType()
The instance type to deploy a custom rule for debugging a training job.
ProcessingInstanceType
public DebugRuleConfiguration withInstanceType(String instanceType)
The instance type to deploy a custom rule for debugging a training job.
instanceType
- The instance type to deploy a custom rule for debugging a training job.ProcessingInstanceType
public DebugRuleConfiguration withInstanceType(ProcessingInstanceType instanceType)
The instance type to deploy a custom rule for debugging a training job.
instanceType
- The instance type to deploy a custom rule for debugging 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 DebugRuleConfiguration 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 DebugRuleConfiguration withRuleParameters(Map<String,String> ruleParameters)
Runtime configuration for rule container.
ruleParameters
- Runtime configuration for rule container.public DebugRuleConfiguration addRuleParametersEntry(String key, String value)
public DebugRuleConfiguration clearRuleParametersEntries()
public String toString()
toString
in class Object
Object.toString()
public DebugRuleConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.