@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeOptimizationJobResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeOptimizationJobResult() |
Modifier and Type | Method and Description |
---|---|
DescribeOptimizationJobResult |
addOptimizationEnvironmentEntry(String key,
String value)
Add a single OptimizationEnvironment entry
|
DescribeOptimizationJobResult |
clearOptimizationEnvironmentEntries()
Removes all the entries added into OptimizationEnvironment.
|
DescribeOptimizationJobResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
The time when you created the optimization job.
|
String |
getDeploymentInstanceType()
The type of instance that hosts the optimized model that you create with the optimization job.
|
String |
getFailureReason()
If the optimization job status is
FAILED , the reason for the failure. |
Date |
getLastModifiedTime()
The time when the optimization job was last updated.
|
OptimizationJobModelSource |
getModelSource()
The location of the source model to optimize with an optimization job.
|
List<OptimizationConfig> |
getOptimizationConfigs()
Settings for each of the optimization techniques that the job applies.
|
Date |
getOptimizationEndTime()
The time when the optimization job finished processing.
|
Map<String,String> |
getOptimizationEnvironment()
The environment variables to set in the model container.
|
String |
getOptimizationJobArn()
The Amazon Resource Name (ARN) of the optimization job.
|
String |
getOptimizationJobName()
The name that you assigned to the optimization job.
|
String |
getOptimizationJobStatus()
The current status of the optimization job.
|
OptimizationOutput |
getOptimizationOutput()
Output values produced by an optimization job.
|
Date |
getOptimizationStartTime()
The time when the optimization job started.
|
OptimizationJobOutputConfig |
getOutputConfig()
Details for where to store the optimized model that you create with the optimization job.
|
String |
getRoleArn()
The ARN of the IAM role that you assigned to the optimization job.
|
StoppingCondition |
getStoppingCondition() |
OptimizationVpcConfig |
getVpcConfig()
A VPC in Amazon VPC that your optimized model has access to.
|
int |
hashCode() |
void |
setCreationTime(Date creationTime)
The time when you created the optimization job.
|
void |
setDeploymentInstanceType(String deploymentInstanceType)
The type of instance that hosts the optimized model that you create with the optimization job.
|
void |
setFailureReason(String failureReason)
If the optimization job status is
FAILED , the reason for the failure. |
void |
setLastModifiedTime(Date lastModifiedTime)
The time when the optimization job was last updated.
|
void |
setModelSource(OptimizationJobModelSource modelSource)
The location of the source model to optimize with an optimization job.
|
void |
setOptimizationConfigs(Collection<OptimizationConfig> optimizationConfigs)
Settings for each of the optimization techniques that the job applies.
|
void |
setOptimizationEndTime(Date optimizationEndTime)
The time when the optimization job finished processing.
|
void |
setOptimizationEnvironment(Map<String,String> optimizationEnvironment)
The environment variables to set in the model container.
|
void |
setOptimizationJobArn(String optimizationJobArn)
The Amazon Resource Name (ARN) of the optimization job.
|
void |
setOptimizationJobName(String optimizationJobName)
The name that you assigned to the optimization job.
|
void |
setOptimizationJobStatus(String optimizationJobStatus)
The current status of the optimization job.
|
void |
setOptimizationOutput(OptimizationOutput optimizationOutput)
Output values produced by an optimization job.
|
void |
setOptimizationStartTime(Date optimizationStartTime)
The time when the optimization job started.
|
void |
setOutputConfig(OptimizationJobOutputConfig outputConfig)
Details for where to store the optimized model that you create with the optimization job.
|
void |
setRoleArn(String roleArn)
The ARN of the IAM role that you assigned to the optimization job.
|
void |
setStoppingCondition(StoppingCondition stoppingCondition) |
void |
setVpcConfig(OptimizationVpcConfig vpcConfig)
A VPC in Amazon VPC that your optimized model has access to.
|
String |
toString()
Returns a string representation of this object.
|
DescribeOptimizationJobResult |
withCreationTime(Date creationTime)
The time when you created the optimization job.
|
DescribeOptimizationJobResult |
withDeploymentInstanceType(OptimizationJobDeploymentInstanceType deploymentInstanceType)
The type of instance that hosts the optimized model that you create with the optimization job.
|
DescribeOptimizationJobResult |
withDeploymentInstanceType(String deploymentInstanceType)
The type of instance that hosts the optimized model that you create with the optimization job.
|
DescribeOptimizationJobResult |
withFailureReason(String failureReason)
If the optimization job status is
FAILED , the reason for the failure. |
DescribeOptimizationJobResult |
withLastModifiedTime(Date lastModifiedTime)
The time when the optimization job was last updated.
|
DescribeOptimizationJobResult |
withModelSource(OptimizationJobModelSource modelSource)
The location of the source model to optimize with an optimization job.
|
DescribeOptimizationJobResult |
withOptimizationConfigs(Collection<OptimizationConfig> optimizationConfigs)
Settings for each of the optimization techniques that the job applies.
|
DescribeOptimizationJobResult |
withOptimizationConfigs(OptimizationConfig... optimizationConfigs)
Settings for each of the optimization techniques that the job applies.
|
DescribeOptimizationJobResult |
withOptimizationEndTime(Date optimizationEndTime)
The time when the optimization job finished processing.
|
DescribeOptimizationJobResult |
withOptimizationEnvironment(Map<String,String> optimizationEnvironment)
The environment variables to set in the model container.
|
DescribeOptimizationJobResult |
withOptimizationJobArn(String optimizationJobArn)
The Amazon Resource Name (ARN) of the optimization job.
|
DescribeOptimizationJobResult |
withOptimizationJobName(String optimizationJobName)
The name that you assigned to the optimization job.
|
DescribeOptimizationJobResult |
withOptimizationJobStatus(OptimizationJobStatus optimizationJobStatus)
The current status of the optimization job.
|
DescribeOptimizationJobResult |
withOptimizationJobStatus(String optimizationJobStatus)
The current status of the optimization job.
|
DescribeOptimizationJobResult |
withOptimizationOutput(OptimizationOutput optimizationOutput)
Output values produced by an optimization job.
|
DescribeOptimizationJobResult |
withOptimizationStartTime(Date optimizationStartTime)
The time when the optimization job started.
|
DescribeOptimizationJobResult |
withOutputConfig(OptimizationJobOutputConfig outputConfig)
Details for where to store the optimized model that you create with the optimization job.
|
DescribeOptimizationJobResult |
withRoleArn(String roleArn)
The ARN of the IAM role that you assigned to the optimization job.
|
DescribeOptimizationJobResult |
withStoppingCondition(StoppingCondition stoppingCondition) |
DescribeOptimizationJobResult |
withVpcConfig(OptimizationVpcConfig vpcConfig)
A VPC in Amazon VPC that your optimized model has access to.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setOptimizationJobArn(String optimizationJobArn)
The Amazon Resource Name (ARN) of the optimization job.
optimizationJobArn
- The Amazon Resource Name (ARN) of the optimization job.public String getOptimizationJobArn()
The Amazon Resource Name (ARN) of the optimization job.
public DescribeOptimizationJobResult withOptimizationJobArn(String optimizationJobArn)
The Amazon Resource Name (ARN) of the optimization job.
optimizationJobArn
- The Amazon Resource Name (ARN) of the optimization job.public void setOptimizationJobStatus(String optimizationJobStatus)
The current status of the optimization job.
optimizationJobStatus
- The current status of the optimization job.OptimizationJobStatus
public String getOptimizationJobStatus()
The current status of the optimization job.
OptimizationJobStatus
public DescribeOptimizationJobResult withOptimizationJobStatus(String optimizationJobStatus)
The current status of the optimization job.
optimizationJobStatus
- The current status of the optimization job.OptimizationJobStatus
public DescribeOptimizationJobResult withOptimizationJobStatus(OptimizationJobStatus optimizationJobStatus)
The current status of the optimization job.
optimizationJobStatus
- The current status of the optimization job.OptimizationJobStatus
public void setOptimizationStartTime(Date optimizationStartTime)
The time when the optimization job started.
optimizationStartTime
- The time when the optimization job started.public Date getOptimizationStartTime()
The time when the optimization job started.
public DescribeOptimizationJobResult withOptimizationStartTime(Date optimizationStartTime)
The time when the optimization job started.
optimizationStartTime
- The time when the optimization job started.public void setOptimizationEndTime(Date optimizationEndTime)
The time when the optimization job finished processing.
optimizationEndTime
- The time when the optimization job finished processing.public Date getOptimizationEndTime()
The time when the optimization job finished processing.
public DescribeOptimizationJobResult withOptimizationEndTime(Date optimizationEndTime)
The time when the optimization job finished processing.
optimizationEndTime
- The time when the optimization job finished processing.public void setCreationTime(Date creationTime)
The time when you created the optimization job.
creationTime
- The time when you created the optimization job.public Date getCreationTime()
The time when you created the optimization job.
public DescribeOptimizationJobResult withCreationTime(Date creationTime)
The time when you created the optimization job.
creationTime
- The time when you created the optimization job.public void setLastModifiedTime(Date lastModifiedTime)
The time when the optimization job was last updated.
lastModifiedTime
- The time when the optimization job was last updated.public Date getLastModifiedTime()
The time when the optimization job was last updated.
public DescribeOptimizationJobResult withLastModifiedTime(Date lastModifiedTime)
The time when the optimization job was last updated.
lastModifiedTime
- The time when the optimization job was last updated.public void setFailureReason(String failureReason)
If the optimization job status is FAILED
, the reason for the failure.
failureReason
- If the optimization job status is FAILED
, the reason for the failure.public String getFailureReason()
If the optimization job status is FAILED
, the reason for the failure.
FAILED
, the reason for the failure.public DescribeOptimizationJobResult withFailureReason(String failureReason)
If the optimization job status is FAILED
, the reason for the failure.
failureReason
- If the optimization job status is FAILED
, the reason for the failure.public void setOptimizationJobName(String optimizationJobName)
The name that you assigned to the optimization job.
optimizationJobName
- The name that you assigned to the optimization job.public String getOptimizationJobName()
The name that you assigned to the optimization job.
public DescribeOptimizationJobResult withOptimizationJobName(String optimizationJobName)
The name that you assigned to the optimization job.
optimizationJobName
- The name that you assigned to the optimization job.public void setModelSource(OptimizationJobModelSource modelSource)
The location of the source model to optimize with an optimization job.
modelSource
- The location of the source model to optimize with an optimization job.public OptimizationJobModelSource getModelSource()
The location of the source model to optimize with an optimization job.
public DescribeOptimizationJobResult withModelSource(OptimizationJobModelSource modelSource)
The location of the source model to optimize with an optimization job.
modelSource
- The location of the source model to optimize with an optimization job.public Map<String,String> getOptimizationEnvironment()
The environment variables to set in the model container.
public void setOptimizationEnvironment(Map<String,String> optimizationEnvironment)
The environment variables to set in the model container.
optimizationEnvironment
- The environment variables to set in the model container.public DescribeOptimizationJobResult withOptimizationEnvironment(Map<String,String> optimizationEnvironment)
The environment variables to set in the model container.
optimizationEnvironment
- The environment variables to set in the model container.public DescribeOptimizationJobResult addOptimizationEnvironmentEntry(String key, String value)
public DescribeOptimizationJobResult clearOptimizationEnvironmentEntries()
public void setDeploymentInstanceType(String deploymentInstanceType)
The type of instance that hosts the optimized model that you create with the optimization job.
deploymentInstanceType
- The type of instance that hosts the optimized model that you create with the optimization job.OptimizationJobDeploymentInstanceType
public String getDeploymentInstanceType()
The type of instance that hosts the optimized model that you create with the optimization job.
OptimizationJobDeploymentInstanceType
public DescribeOptimizationJobResult withDeploymentInstanceType(String deploymentInstanceType)
The type of instance that hosts the optimized model that you create with the optimization job.
deploymentInstanceType
- The type of instance that hosts the optimized model that you create with the optimization job.OptimizationJobDeploymentInstanceType
public DescribeOptimizationJobResult withDeploymentInstanceType(OptimizationJobDeploymentInstanceType deploymentInstanceType)
The type of instance that hosts the optimized model that you create with the optimization job.
deploymentInstanceType
- The type of instance that hosts the optimized model that you create with the optimization job.OptimizationJobDeploymentInstanceType
public List<OptimizationConfig> getOptimizationConfigs()
Settings for each of the optimization techniques that the job applies.
public void setOptimizationConfigs(Collection<OptimizationConfig> optimizationConfigs)
Settings for each of the optimization techniques that the job applies.
optimizationConfigs
- Settings for each of the optimization techniques that the job applies.public DescribeOptimizationJobResult withOptimizationConfigs(OptimizationConfig... optimizationConfigs)
Settings for each of the optimization techniques that the job applies.
NOTE: This method appends the values to the existing list (if any). Use
setOptimizationConfigs(java.util.Collection)
or withOptimizationConfigs(java.util.Collection)
if you want to override the existing values.
optimizationConfigs
- Settings for each of the optimization techniques that the job applies.public DescribeOptimizationJobResult withOptimizationConfigs(Collection<OptimizationConfig> optimizationConfigs)
Settings for each of the optimization techniques that the job applies.
optimizationConfigs
- Settings for each of the optimization techniques that the job applies.public void setOutputConfig(OptimizationJobOutputConfig outputConfig)
Details for where to store the optimized model that you create with the optimization job.
outputConfig
- Details for where to store the optimized model that you create with the optimization job.public OptimizationJobOutputConfig getOutputConfig()
Details for where to store the optimized model that you create with the optimization job.
public DescribeOptimizationJobResult withOutputConfig(OptimizationJobOutputConfig outputConfig)
Details for where to store the optimized model that you create with the optimization job.
outputConfig
- Details for where to store the optimized model that you create with the optimization job.public void setOptimizationOutput(OptimizationOutput optimizationOutput)
Output values produced by an optimization job.
optimizationOutput
- Output values produced by an optimization job.public OptimizationOutput getOptimizationOutput()
Output values produced by an optimization job.
public DescribeOptimizationJobResult withOptimizationOutput(OptimizationOutput optimizationOutput)
Output values produced by an optimization job.
optimizationOutput
- Output values produced by an optimization job.public void setRoleArn(String roleArn)
The ARN of the IAM role that you assigned to the optimization job.
roleArn
- The ARN of the IAM role that you assigned to the optimization job.public String getRoleArn()
The ARN of the IAM role that you assigned to the optimization job.
public DescribeOptimizationJobResult withRoleArn(String roleArn)
The ARN of the IAM role that you assigned to the optimization job.
roleArn
- The ARN of the IAM role that you assigned to the optimization job.public void setStoppingCondition(StoppingCondition stoppingCondition)
stoppingCondition
- public StoppingCondition getStoppingCondition()
public DescribeOptimizationJobResult withStoppingCondition(StoppingCondition stoppingCondition)
stoppingCondition
- public void setVpcConfig(OptimizationVpcConfig vpcConfig)
A VPC in Amazon VPC that your optimized model has access to.
vpcConfig
- A VPC in Amazon VPC that your optimized model has access to.public OptimizationVpcConfig getVpcConfig()
A VPC in Amazon VPC that your optimized model has access to.
public DescribeOptimizationJobResult withVpcConfig(OptimizationVpcConfig vpcConfig)
A VPC in Amazon VPC that your optimized model has access to.
vpcConfig
- A VPC in Amazon VPC that your optimized model has access to.public String toString()
toString
in class Object
Object.toString()
public DescribeOptimizationJobResult clone()