@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MonitoringJobDefinition extends Object implements Serializable, Cloneable, StructuredPojo
Defines the monitoring job.
Constructor and Description |
---|
MonitoringJobDefinition() |
Modifier and Type | Method and Description |
---|---|
MonitoringJobDefinition |
addEnvironmentEntry(String key,
String value)
Add a single Environment entry
|
MonitoringJobDefinition |
clearEnvironmentEntries()
Removes all the entries added into Environment.
|
MonitoringJobDefinition |
clone() |
boolean |
equals(Object obj) |
MonitoringBaselineConfig |
getBaselineConfig()
Baseline configuration used to validate that the data conforms to the specified constraints and statistics
|
Map<String,String> |
getEnvironment()
Sets the environment variables in the Docker container.
|
MonitoringAppSpecification |
getMonitoringAppSpecification()
Configures the monitoring job to run a specified Docker container image.
|
List<MonitoringInput> |
getMonitoringInputs()
The array of inputs for the monitoring job.
|
MonitoringOutputConfig |
getMonitoringOutputConfig()
The array of outputs from the monitoring job to be uploaded to Amazon S3.
|
MonitoringResources |
getMonitoringResources()
Identifies the resources, ML compute instances, and ML storage volumes to deploy for a monitoring job.
|
NetworkConfig |
getNetworkConfig()
Specifies networking options for an monitoring job.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
|
MonitoringStoppingCondition |
getStoppingCondition()
Specifies a time limit for how long the monitoring job is allowed to run.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBaselineConfig(MonitoringBaselineConfig baselineConfig)
Baseline configuration used to validate that the data conforms to the specified constraints and statistics
|
void |
setEnvironment(Map<String,String> environment)
Sets the environment variables in the Docker container.
|
void |
setMonitoringAppSpecification(MonitoringAppSpecification monitoringAppSpecification)
Configures the monitoring job to run a specified Docker container image.
|
void |
setMonitoringInputs(Collection<MonitoringInput> monitoringInputs)
The array of inputs for the monitoring job.
|
void |
setMonitoringOutputConfig(MonitoringOutputConfig monitoringOutputConfig)
The array of outputs from the monitoring job to be uploaded to Amazon S3.
|
void |
setMonitoringResources(MonitoringResources monitoringResources)
Identifies the resources, ML compute instances, and ML storage volumes to deploy for a monitoring job.
|
void |
setNetworkConfig(NetworkConfig networkConfig)
Specifies networking options for an monitoring job.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
|
void |
setStoppingCondition(MonitoringStoppingCondition stoppingCondition)
Specifies a time limit for how long the monitoring job is allowed to run.
|
String |
toString()
Returns a string representation of this object.
|
MonitoringJobDefinition |
withBaselineConfig(MonitoringBaselineConfig baselineConfig)
Baseline configuration used to validate that the data conforms to the specified constraints and statistics
|
MonitoringJobDefinition |
withEnvironment(Map<String,String> environment)
Sets the environment variables in the Docker container.
|
MonitoringJobDefinition |
withMonitoringAppSpecification(MonitoringAppSpecification monitoringAppSpecification)
Configures the monitoring job to run a specified Docker container image.
|
MonitoringJobDefinition |
withMonitoringInputs(Collection<MonitoringInput> monitoringInputs)
The array of inputs for the monitoring job.
|
MonitoringJobDefinition |
withMonitoringInputs(MonitoringInput... monitoringInputs)
The array of inputs for the monitoring job.
|
MonitoringJobDefinition |
withMonitoringOutputConfig(MonitoringOutputConfig monitoringOutputConfig)
The array of outputs from the monitoring job to be uploaded to Amazon S3.
|
MonitoringJobDefinition |
withMonitoringResources(MonitoringResources monitoringResources)
Identifies the resources, ML compute instances, and ML storage volumes to deploy for a monitoring job.
|
MonitoringJobDefinition |
withNetworkConfig(NetworkConfig networkConfig)
Specifies networking options for an monitoring job.
|
MonitoringJobDefinition |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
|
MonitoringJobDefinition |
withStoppingCondition(MonitoringStoppingCondition stoppingCondition)
Specifies a time limit for how long the monitoring job is allowed to run.
|
public void setBaselineConfig(MonitoringBaselineConfig baselineConfig)
Baseline configuration used to validate that the data conforms to the specified constraints and statistics
baselineConfig
- Baseline configuration used to validate that the data conforms to the specified constraints and statisticspublic MonitoringBaselineConfig getBaselineConfig()
Baseline configuration used to validate that the data conforms to the specified constraints and statistics
public MonitoringJobDefinition withBaselineConfig(MonitoringBaselineConfig baselineConfig)
Baseline configuration used to validate that the data conforms to the specified constraints and statistics
baselineConfig
- Baseline configuration used to validate that the data conforms to the specified constraints and statisticspublic List<MonitoringInput> getMonitoringInputs()
The array of inputs for the monitoring job. Currently we support monitoring an Amazon SageMaker Endpoint.
public void setMonitoringInputs(Collection<MonitoringInput> monitoringInputs)
The array of inputs for the monitoring job. Currently we support monitoring an Amazon SageMaker Endpoint.
monitoringInputs
- The array of inputs for the monitoring job. Currently we support monitoring an Amazon SageMaker Endpoint.public MonitoringJobDefinition withMonitoringInputs(MonitoringInput... monitoringInputs)
The array of inputs for the monitoring job. Currently we support monitoring an Amazon SageMaker Endpoint.
NOTE: This method appends the values to the existing list (if any). Use
setMonitoringInputs(java.util.Collection)
or withMonitoringInputs(java.util.Collection)
if you
want to override the existing values.
monitoringInputs
- The array of inputs for the monitoring job. Currently we support monitoring an Amazon SageMaker Endpoint.public MonitoringJobDefinition withMonitoringInputs(Collection<MonitoringInput> monitoringInputs)
The array of inputs for the monitoring job. Currently we support monitoring an Amazon SageMaker Endpoint.
monitoringInputs
- The array of inputs for the monitoring job. Currently we support monitoring an Amazon SageMaker Endpoint.public void setMonitoringOutputConfig(MonitoringOutputConfig monitoringOutputConfig)
The array of outputs from the monitoring job to be uploaded to Amazon S3.
monitoringOutputConfig
- The array of outputs from the monitoring job to be uploaded to Amazon S3.public MonitoringOutputConfig getMonitoringOutputConfig()
The array of outputs from the monitoring job to be uploaded to Amazon S3.
public MonitoringJobDefinition withMonitoringOutputConfig(MonitoringOutputConfig monitoringOutputConfig)
The array of outputs from the monitoring job to be uploaded to Amazon S3.
monitoringOutputConfig
- The array of outputs from the monitoring job to be uploaded to Amazon S3.public void setMonitoringResources(MonitoringResources monitoringResources)
Identifies the resources, ML compute instances, and ML storage volumes to deploy for a monitoring job. In distributed processing, you specify more than one instance.
monitoringResources
- Identifies the resources, ML compute instances, and ML storage volumes to deploy for a monitoring job. In
distributed processing, you specify more than one instance.public MonitoringResources getMonitoringResources()
Identifies the resources, ML compute instances, and ML storage volumes to deploy for a monitoring job. In distributed processing, you specify more than one instance.
public MonitoringJobDefinition withMonitoringResources(MonitoringResources monitoringResources)
Identifies the resources, ML compute instances, and ML storage volumes to deploy for a monitoring job. In distributed processing, you specify more than one instance.
monitoringResources
- Identifies the resources, ML compute instances, and ML storage volumes to deploy for a monitoring job. In
distributed processing, you specify more than one instance.public void setMonitoringAppSpecification(MonitoringAppSpecification monitoringAppSpecification)
Configures the monitoring job to run a specified Docker container image.
monitoringAppSpecification
- Configures the monitoring job to run a specified Docker container image.public MonitoringAppSpecification getMonitoringAppSpecification()
Configures the monitoring job to run a specified Docker container image.
public MonitoringJobDefinition withMonitoringAppSpecification(MonitoringAppSpecification monitoringAppSpecification)
Configures the monitoring job to run a specified Docker container image.
monitoringAppSpecification
- Configures the monitoring job to run a specified Docker container image.public void setStoppingCondition(MonitoringStoppingCondition stoppingCondition)
Specifies a time limit for how long the monitoring job is allowed to run.
stoppingCondition
- Specifies a time limit for how long the monitoring job is allowed to run.public MonitoringStoppingCondition getStoppingCondition()
Specifies a time limit for how long the monitoring job is allowed to run.
public MonitoringJobDefinition withStoppingCondition(MonitoringStoppingCondition stoppingCondition)
Specifies a time limit for how long the monitoring job is allowed to run.
stoppingCondition
- Specifies a time limit for how long the monitoring job is allowed to run.public Map<String,String> getEnvironment()
Sets the environment variables in the Docker container.
public void setEnvironment(Map<String,String> environment)
Sets the environment variables in the Docker container.
environment
- Sets the environment variables in the Docker container.public MonitoringJobDefinition withEnvironment(Map<String,String> environment)
Sets the environment variables in the Docker container.
environment
- Sets the environment variables in the Docker container.public MonitoringJobDefinition addEnvironmentEntry(String key, String value)
public MonitoringJobDefinition clearEnvironmentEntries()
public void setNetworkConfig(NetworkConfig networkConfig)
Specifies networking options for an monitoring job.
networkConfig
- Specifies networking options for an monitoring job.public NetworkConfig getNetworkConfig()
Specifies networking options for an monitoring job.
public MonitoringJobDefinition withNetworkConfig(NetworkConfig networkConfig)
Specifies networking options for an monitoring job.
networkConfig
- Specifies networking options for an monitoring job.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
roleArn
- The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your
behalf.public String getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
public MonitoringJobDefinition withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
roleArn
- The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your
behalf.public String toString()
toString
in class Object
Object.toString()
public MonitoringJobDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.