@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetModelCustomizationJobResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetModelCustomizationJobResult() |
Modifier and Type | Method and Description |
---|---|
GetModelCustomizationJobResult |
addHyperParametersEntry(String key,
String value)
Add a single HyperParameters entry
|
GetModelCustomizationJobResult |
clearHyperParametersEntries()
Removes all the entries added into HyperParameters.
|
GetModelCustomizationJobResult |
clone() |
boolean |
equals(Object obj) |
String |
getBaseModelArn()
Amazon Resource Name (ARN) of the base model.
|
String |
getClientRequestToken()
The token that you specified in the
CreateCustomizationJob request. |
Date |
getCreationTime()
Time that the resource was created.
|
String |
getCustomizationType()
The type of model customization.
|
Date |
getEndTime()
Time that the resource transitioned to terminal state.
|
String |
getFailureMessage()
Information about why the job failed.
|
Map<String,String> |
getHyperParameters()
The hyperparameter values for the job.
|
String |
getJobArn()
The Amazon Resource Name (ARN) of the customization job.
|
String |
getJobName()
The name of the customization job.
|
Date |
getLastModifiedTime()
Time that the resource was last modified.
|
OutputDataConfig |
getOutputDataConfig()
Output data configuration
|
String |
getOutputModelArn()
The Amazon Resource Name (ARN) of the output model.
|
String |
getOutputModelKmsKeyArn()
The custom model is encrypted at rest using this key.
|
String |
getOutputModelName()
The name of the output model.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM role.
|
String |
getStatus()
The status of the job.
|
TrainingDataConfig |
getTrainingDataConfig()
Contains information about the training dataset.
|
TrainingMetrics |
getTrainingMetrics()
Contains training metrics from the job creation.
|
ValidationDataConfig |
getValidationDataConfig()
Contains information about the validation dataset.
|
List<ValidatorMetric> |
getValidationMetrics()
The loss metric for each validator that you provided in the createjob request.
|
VpcConfig |
getVpcConfig()
VPC configuration for the custom model job.
|
int |
hashCode() |
void |
setBaseModelArn(String baseModelArn)
Amazon Resource Name (ARN) of the base model.
|
void |
setClientRequestToken(String clientRequestToken)
The token that you specified in the
CreateCustomizationJob request. |
void |
setCreationTime(Date creationTime)
Time that the resource was created.
|
void |
setCustomizationType(String customizationType)
The type of model customization.
|
void |
setEndTime(Date endTime)
Time that the resource transitioned to terminal state.
|
void |
setFailureMessage(String failureMessage)
Information about why the job failed.
|
void |
setHyperParameters(Map<String,String> hyperParameters)
The hyperparameter values for the job.
|
void |
setJobArn(String jobArn)
The Amazon Resource Name (ARN) of the customization job.
|
void |
setJobName(String jobName)
The name of the customization job.
|
void |
setLastModifiedTime(Date lastModifiedTime)
Time that the resource was last modified.
|
void |
setOutputDataConfig(OutputDataConfig outputDataConfig)
Output data configuration
|
void |
setOutputModelArn(String outputModelArn)
The Amazon Resource Name (ARN) of the output model.
|
void |
setOutputModelKmsKeyArn(String outputModelKmsKeyArn)
The custom model is encrypted at rest using this key.
|
void |
setOutputModelName(String outputModelName)
The name of the output model.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role.
|
void |
setStatus(String status)
The status of the job.
|
void |
setTrainingDataConfig(TrainingDataConfig trainingDataConfig)
Contains information about the training dataset.
|
void |
setTrainingMetrics(TrainingMetrics trainingMetrics)
Contains training metrics from the job creation.
|
void |
setValidationDataConfig(ValidationDataConfig validationDataConfig)
Contains information about the validation dataset.
|
void |
setValidationMetrics(Collection<ValidatorMetric> validationMetrics)
The loss metric for each validator that you provided in the createjob request.
|
void |
setVpcConfig(VpcConfig vpcConfig)
VPC configuration for the custom model job.
|
String |
toString()
Returns a string representation of this object.
|
GetModelCustomizationJobResult |
withBaseModelArn(String baseModelArn)
Amazon Resource Name (ARN) of the base model.
|
GetModelCustomizationJobResult |
withClientRequestToken(String clientRequestToken)
The token that you specified in the
CreateCustomizationJob request. |
GetModelCustomizationJobResult |
withCreationTime(Date creationTime)
Time that the resource was created.
|
GetModelCustomizationJobResult |
withCustomizationType(CustomizationType customizationType)
The type of model customization.
|
GetModelCustomizationJobResult |
withCustomizationType(String customizationType)
The type of model customization.
|
GetModelCustomizationJobResult |
withEndTime(Date endTime)
Time that the resource transitioned to terminal state.
|
GetModelCustomizationJobResult |
withFailureMessage(String failureMessage)
Information about why the job failed.
|
GetModelCustomizationJobResult |
withHyperParameters(Map<String,String> hyperParameters)
The hyperparameter values for the job.
|
GetModelCustomizationJobResult |
withJobArn(String jobArn)
The Amazon Resource Name (ARN) of the customization job.
|
GetModelCustomizationJobResult |
withJobName(String jobName)
The name of the customization job.
|
GetModelCustomizationJobResult |
withLastModifiedTime(Date lastModifiedTime)
Time that the resource was last modified.
|
GetModelCustomizationJobResult |
withOutputDataConfig(OutputDataConfig outputDataConfig)
Output data configuration
|
GetModelCustomizationJobResult |
withOutputModelArn(String outputModelArn)
The Amazon Resource Name (ARN) of the output model.
|
GetModelCustomizationJobResult |
withOutputModelKmsKeyArn(String outputModelKmsKeyArn)
The custom model is encrypted at rest using this key.
|
GetModelCustomizationJobResult |
withOutputModelName(String outputModelName)
The name of the output model.
|
GetModelCustomizationJobResult |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role.
|
GetModelCustomizationJobResult |
withStatus(ModelCustomizationJobStatus status)
The status of the job.
|
GetModelCustomizationJobResult |
withStatus(String status)
The status of the job.
|
GetModelCustomizationJobResult |
withTrainingDataConfig(TrainingDataConfig trainingDataConfig)
Contains information about the training dataset.
|
GetModelCustomizationJobResult |
withTrainingMetrics(TrainingMetrics trainingMetrics)
Contains training metrics from the job creation.
|
GetModelCustomizationJobResult |
withValidationDataConfig(ValidationDataConfig validationDataConfig)
Contains information about the validation dataset.
|
GetModelCustomizationJobResult |
withValidationMetrics(Collection<ValidatorMetric> validationMetrics)
The loss metric for each validator that you provided in the createjob request.
|
GetModelCustomizationJobResult |
withValidationMetrics(ValidatorMetric... validationMetrics)
The loss metric for each validator that you provided in the createjob request.
|
GetModelCustomizationJobResult |
withVpcConfig(VpcConfig vpcConfig)
VPC configuration for the custom model job.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setJobArn(String jobArn)
The Amazon Resource Name (ARN) of the customization job.
jobArn
- The Amazon Resource Name (ARN) of the customization job.public String getJobArn()
The Amazon Resource Name (ARN) of the customization job.
public GetModelCustomizationJobResult withJobArn(String jobArn)
The Amazon Resource Name (ARN) of the customization job.
jobArn
- The Amazon Resource Name (ARN) of the customization job.public void setJobName(String jobName)
The name of the customization job.
jobName
- The name of the customization job.public String getJobName()
The name of the customization job.
public GetModelCustomizationJobResult withJobName(String jobName)
The name of the customization job.
jobName
- The name of the customization job.public void setOutputModelName(String outputModelName)
The name of the output model.
outputModelName
- The name of the output model.public String getOutputModelName()
The name of the output model.
public GetModelCustomizationJobResult withOutputModelName(String outputModelName)
The name of the output model.
outputModelName
- The name of the output model.public void setOutputModelArn(String outputModelArn)
The Amazon Resource Name (ARN) of the output model.
outputModelArn
- The Amazon Resource Name (ARN) of the output model.public String getOutputModelArn()
The Amazon Resource Name (ARN) of the output model.
public GetModelCustomizationJobResult withOutputModelArn(String outputModelArn)
The Amazon Resource Name (ARN) of the output model.
outputModelArn
- The Amazon Resource Name (ARN) of the output model.public void setClientRequestToken(String clientRequestToken)
The token that you specified in the CreateCustomizationJob
request.
clientRequestToken
- The token that you specified in the CreateCustomizationJob
request.public String getClientRequestToken()
The token that you specified in the CreateCustomizationJob
request.
CreateCustomizationJob
request.public GetModelCustomizationJobResult withClientRequestToken(String clientRequestToken)
The token that you specified in the CreateCustomizationJob
request.
clientRequestToken
- The token that you specified in the CreateCustomizationJob
request.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role.
roleArn
- The Amazon Resource Name (ARN) of the IAM role.public String getRoleArn()
The Amazon Resource Name (ARN) of the IAM role.
public GetModelCustomizationJobResult withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role.
roleArn
- The Amazon Resource Name (ARN) of the IAM role.public void setStatus(String status)
The status of the job. A successful job transitions from in-progress to completed when the output model is ready to use. If the job failed, the failure message contains information about why the job failed.
status
- The status of the job. A successful job transitions from in-progress to completed when the output model is
ready to use. If the job failed, the failure message contains information about why the job failed.ModelCustomizationJobStatus
public String getStatus()
The status of the job. A successful job transitions from in-progress to completed when the output model is ready to use. If the job failed, the failure message contains information about why the job failed.
ModelCustomizationJobStatus
public GetModelCustomizationJobResult withStatus(String status)
The status of the job. A successful job transitions from in-progress to completed when the output model is ready to use. If the job failed, the failure message contains information about why the job failed.
status
- The status of the job. A successful job transitions from in-progress to completed when the output model is
ready to use. If the job failed, the failure message contains information about why the job failed.ModelCustomizationJobStatus
public GetModelCustomizationJobResult withStatus(ModelCustomizationJobStatus status)
The status of the job. A successful job transitions from in-progress to completed when the output model is ready to use. If the job failed, the failure message contains information about why the job failed.
status
- The status of the job. A successful job transitions from in-progress to completed when the output model is
ready to use. If the job failed, the failure message contains information about why the job failed.ModelCustomizationJobStatus
public void setFailureMessage(String failureMessage)
Information about why the job failed.
failureMessage
- Information about why the job failed.public String getFailureMessage()
Information about why the job failed.
public GetModelCustomizationJobResult withFailureMessage(String failureMessage)
Information about why the job failed.
failureMessage
- Information about why the job failed.public void setCreationTime(Date creationTime)
Time that the resource was created.
creationTime
- Time that the resource was created.public Date getCreationTime()
Time that the resource was created.
public GetModelCustomizationJobResult withCreationTime(Date creationTime)
Time that the resource was created.
creationTime
- Time that the resource was created.public void setLastModifiedTime(Date lastModifiedTime)
Time that the resource was last modified.
lastModifiedTime
- Time that the resource was last modified.public Date getLastModifiedTime()
Time that the resource was last modified.
public GetModelCustomizationJobResult withLastModifiedTime(Date lastModifiedTime)
Time that the resource was last modified.
lastModifiedTime
- Time that the resource was last modified.public void setEndTime(Date endTime)
Time that the resource transitioned to terminal state.
endTime
- Time that the resource transitioned to terminal state.public Date getEndTime()
Time that the resource transitioned to terminal state.
public GetModelCustomizationJobResult withEndTime(Date endTime)
Time that the resource transitioned to terminal state.
endTime
- Time that the resource transitioned to terminal state.public void setBaseModelArn(String baseModelArn)
Amazon Resource Name (ARN) of the base model.
baseModelArn
- Amazon Resource Name (ARN) of the base model.public String getBaseModelArn()
Amazon Resource Name (ARN) of the base model.
public GetModelCustomizationJobResult withBaseModelArn(String baseModelArn)
Amazon Resource Name (ARN) of the base model.
baseModelArn
- Amazon Resource Name (ARN) of the base model.public Map<String,String> getHyperParameters()
The hyperparameter values for the job. For details on the format for different models, see Custom model hyperparameters.
public void setHyperParameters(Map<String,String> hyperParameters)
The hyperparameter values for the job. For details on the format for different models, see Custom model hyperparameters.
hyperParameters
- The hyperparameter values for the job. For details on the format for different models, see Custom model
hyperparameters.public GetModelCustomizationJobResult withHyperParameters(Map<String,String> hyperParameters)
The hyperparameter values for the job. For details on the format for different models, see Custom model hyperparameters.
hyperParameters
- The hyperparameter values for the job. For details on the format for different models, see Custom model
hyperparameters.public GetModelCustomizationJobResult addHyperParametersEntry(String key, String value)
public GetModelCustomizationJobResult clearHyperParametersEntries()
public void setTrainingDataConfig(TrainingDataConfig trainingDataConfig)
Contains information about the training dataset.
trainingDataConfig
- Contains information about the training dataset.public TrainingDataConfig getTrainingDataConfig()
Contains information about the training dataset.
public GetModelCustomizationJobResult withTrainingDataConfig(TrainingDataConfig trainingDataConfig)
Contains information about the training dataset.
trainingDataConfig
- Contains information about the training dataset.public void setValidationDataConfig(ValidationDataConfig validationDataConfig)
Contains information about the validation dataset.
validationDataConfig
- Contains information about the validation dataset.public ValidationDataConfig getValidationDataConfig()
Contains information about the validation dataset.
public GetModelCustomizationJobResult withValidationDataConfig(ValidationDataConfig validationDataConfig)
Contains information about the validation dataset.
validationDataConfig
- Contains information about the validation dataset.public void setOutputDataConfig(OutputDataConfig outputDataConfig)
Output data configuration
outputDataConfig
- Output data configurationpublic OutputDataConfig getOutputDataConfig()
Output data configuration
public GetModelCustomizationJobResult withOutputDataConfig(OutputDataConfig outputDataConfig)
Output data configuration
outputDataConfig
- Output data configurationpublic void setCustomizationType(String customizationType)
The type of model customization.
customizationType
- The type of model customization.CustomizationType
public String getCustomizationType()
The type of model customization.
CustomizationType
public GetModelCustomizationJobResult withCustomizationType(String customizationType)
The type of model customization.
customizationType
- The type of model customization.CustomizationType
public GetModelCustomizationJobResult withCustomizationType(CustomizationType customizationType)
The type of model customization.
customizationType
- The type of model customization.CustomizationType
public void setOutputModelKmsKeyArn(String outputModelKmsKeyArn)
The custom model is encrypted at rest using this key.
outputModelKmsKeyArn
- The custom model is encrypted at rest using this key.public String getOutputModelKmsKeyArn()
The custom model is encrypted at rest using this key.
public GetModelCustomizationJobResult withOutputModelKmsKeyArn(String outputModelKmsKeyArn)
The custom model is encrypted at rest using this key.
outputModelKmsKeyArn
- The custom model is encrypted at rest using this key.public void setTrainingMetrics(TrainingMetrics trainingMetrics)
Contains training metrics from the job creation.
trainingMetrics
- Contains training metrics from the job creation.public TrainingMetrics getTrainingMetrics()
Contains training metrics from the job creation.
public GetModelCustomizationJobResult withTrainingMetrics(TrainingMetrics trainingMetrics)
Contains training metrics from the job creation.
trainingMetrics
- Contains training metrics from the job creation.public List<ValidatorMetric> getValidationMetrics()
The loss metric for each validator that you provided in the createjob request.
public void setValidationMetrics(Collection<ValidatorMetric> validationMetrics)
The loss metric for each validator that you provided in the createjob request.
validationMetrics
- The loss metric for each validator that you provided in the createjob request.public GetModelCustomizationJobResult withValidationMetrics(ValidatorMetric... validationMetrics)
The loss metric for each validator that you provided in the createjob request.
NOTE: This method appends the values to the existing list (if any). Use
setValidationMetrics(java.util.Collection)
or withValidationMetrics(java.util.Collection)
if
you want to override the existing values.
validationMetrics
- The loss metric for each validator that you provided in the createjob request.public GetModelCustomizationJobResult withValidationMetrics(Collection<ValidatorMetric> validationMetrics)
The loss metric for each validator that you provided in the createjob request.
validationMetrics
- The loss metric for each validator that you provided in the createjob request.public void setVpcConfig(VpcConfig vpcConfig)
VPC configuration for the custom model job.
vpcConfig
- VPC configuration for the custom model job.public VpcConfig getVpcConfig()
VPC configuration for the custom model job.
public GetModelCustomizationJobResult withVpcConfig(VpcConfig vpcConfig)
VPC configuration for the custom model job.
vpcConfig
- VPC configuration for the custom model job.public String toString()
toString
in class Object
Object.toString()
public GetModelCustomizationJobResult clone()