Interface GetModelCustomizationJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockResponse.Builder
,Buildable
,CopyableBuilder<GetModelCustomizationJobResponse.Builder,
,GetModelCustomizationJobResponse> SdkBuilder<GetModelCustomizationJobResponse.Builder,
,GetModelCustomizationJobResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetModelCustomizationJobResponse
-
Method Summary
Modifier and TypeMethodDescriptionbaseModelArn
(String baseModelArn) Amazon Resource Name (ARN) of the base model.clientRequestToken
(String clientRequestToken) The token that you specified in theCreateCustomizationJob
request.creationTime
(Instant creationTime) Time that the resource was created.customizationConfig
(Consumer<CustomizationConfig.Builder> customizationConfig) The customization configuration for the model customization job.customizationConfig
(CustomizationConfig customizationConfig) The customization configuration for the model customization job.customizationType
(String customizationType) The type of model customization.customizationType
(CustomizationType customizationType) The type of model customization.Time that the resource transitioned to terminal state.failureMessage
(String failureMessage) Information about why the job failed.hyperParameters
(Map<String, String> hyperParameters) The hyperparameter values for the job.The Amazon Resource Name (ARN) of the customization job.The name of the customization job.lastModifiedTime
(Instant lastModifiedTime) Time that the resource was last modified.outputDataConfig
(Consumer<OutputDataConfig.Builder> outputDataConfig) Output data configurationoutputDataConfig
(OutputDataConfig outputDataConfig) Output data configurationoutputModelArn
(String outputModelArn) The Amazon Resource Name (ARN) of the output model.outputModelKmsKeyArn
(String outputModelKmsKeyArn) The custom model is encrypted at rest using this key.outputModelName
(String outputModelName) The name of the output model.The Amazon Resource Name (ARN) of the IAM role.The status of the job.status
(ModelCustomizationJobStatus status) The status of the job.statusDetails
(Consumer<StatusDetails.Builder> statusDetails) For a Distillation job, the details about the statuses of the sub-tasks of the customization job.statusDetails
(StatusDetails statusDetails) For a Distillation job, the details about the statuses of the sub-tasks of the customization job.trainingDataConfig
(Consumer<TrainingDataConfig.Builder> trainingDataConfig) Contains information about the training dataset.trainingDataConfig
(TrainingDataConfig trainingDataConfig) Contains information about the training dataset.trainingMetrics
(Consumer<TrainingMetrics.Builder> trainingMetrics) Contains training metrics from the job creation.trainingMetrics
(TrainingMetrics trainingMetrics) Contains training metrics from the job creation.validationDataConfig
(Consumer<ValidationDataConfig.Builder> validationDataConfig) Contains information about the validation dataset.validationDataConfig
(ValidationDataConfig validationDataConfig) Contains information about the validation dataset.validationMetrics
(Collection<ValidatorMetric> validationMetrics) The loss metric for each validator that you provided in the createjob request.validationMetrics
(Consumer<ValidatorMetric.Builder>... validationMetrics) The loss metric for each validator that you provided in the createjob request.validationMetrics
(ValidatorMetric... validationMetrics) The loss metric for each validator that you provided in the createjob request.vpcConfig
(Consumer<VpcConfig.Builder> vpcConfig) VPC configuration for the custom model job.VPC configuration for the custom model job.Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
jobArn
The Amazon Resource Name (ARN) of the customization job.
- Parameters:
jobArn
- The Amazon Resource Name (ARN) of the customization job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobName
The name of the customization job.
- Parameters:
jobName
- The name of the customization job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputModelName
The name of the output model.
- Parameters:
outputModelName
- The name of the output model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputModelArn
The Amazon Resource Name (ARN) of the output model.
- Parameters:
outputModelArn
- The Amazon Resource Name (ARN) of the output model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
The token that you specified in the
CreateCustomizationJob
request.- Parameters:
clientRequestToken
- The token that you specified in theCreateCustomizationJob
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The Amazon Resource Name (ARN) of the IAM role.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the IAM role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusDetails
For a Distillation job, the details about the statuses of the sub-tasks of the customization job.
- Parameters:
statusDetails
- For a Distillation job, the details about the statuses of the sub-tasks of the customization job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusDetails
default GetModelCustomizationJobResponse.Builder statusDetails(Consumer<StatusDetails.Builder> statusDetails) For a Distillation job, the details about the statuses of the sub-tasks of the customization job.
This is a convenience method that creates an instance of theStatusDetails.Builder
avoiding the need to create one manually viaStatusDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatusDetails(StatusDetails)
.- Parameters:
statusDetails
- a consumer that will call methods onStatusDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureMessage
Information about why the job failed.
- Parameters:
failureMessage
- Information about why the job failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
Time that the resource was created.
- Parameters:
creationTime
- Time that the resource was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
Time that the resource was last modified.
- Parameters:
lastModifiedTime
- Time that the resource was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
Time that the resource transitioned to terminal state.
- Parameters:
endTime
- Time that the resource transitioned to terminal state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baseModelArn
Amazon Resource Name (ARN) of the base model.
- Parameters:
baseModelArn
- Amazon Resource Name (ARN) of the base model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hyperParameters
The hyperparameter values for the job. For details on the format for different models, see Custom model hyperparameters.
- Parameters:
hyperParameters
- The hyperparameter values for the job. For details on the format for different models, see Custom model hyperparameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingDataConfig
Contains information about the training dataset.
- Parameters:
trainingDataConfig
- Contains information about the training dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingDataConfig
default GetModelCustomizationJobResponse.Builder trainingDataConfig(Consumer<TrainingDataConfig.Builder> trainingDataConfig) Contains information about the training dataset.
This is a convenience method that creates an instance of theTrainingDataConfig.Builder
avoiding the need to create one manually viaTrainingDataConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totrainingDataConfig(TrainingDataConfig)
.- Parameters:
trainingDataConfig
- a consumer that will call methods onTrainingDataConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
validationDataConfig
GetModelCustomizationJobResponse.Builder validationDataConfig(ValidationDataConfig validationDataConfig) Contains information about the validation dataset.
- Parameters:
validationDataConfig
- Contains information about the validation dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationDataConfig
default GetModelCustomizationJobResponse.Builder validationDataConfig(Consumer<ValidationDataConfig.Builder> validationDataConfig) Contains information about the validation dataset.
This is a convenience method that creates an instance of theValidationDataConfig.Builder
avoiding the need to create one manually viaValidationDataConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalidationDataConfig(ValidationDataConfig)
.- Parameters:
validationDataConfig
- a consumer that will call methods onValidationDataConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputDataConfig
Output data configuration
- Parameters:
outputDataConfig
- Output data configuration- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputDataConfig
default GetModelCustomizationJobResponse.Builder outputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig) Output data configuration
This is a convenience method that creates an instance of theOutputDataConfig.Builder
avoiding the need to create one manually viaOutputDataConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputDataConfig(OutputDataConfig)
.- Parameters:
outputDataConfig
- a consumer that will call methods onOutputDataConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customizationType
The type of model customization.
- Parameters:
customizationType
- The type of model customization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customizationType
The type of model customization.
- Parameters:
customizationType
- The type of model customization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputModelKmsKeyArn
The custom model is encrypted at rest using this key.
- Parameters:
outputModelKmsKeyArn
- The custom model is encrypted at rest using this key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingMetrics
Contains training metrics from the job creation.
- Parameters:
trainingMetrics
- Contains training metrics from the job creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingMetrics
default GetModelCustomizationJobResponse.Builder trainingMetrics(Consumer<TrainingMetrics.Builder> trainingMetrics) Contains training metrics from the job creation.
This is a convenience method that creates an instance of theTrainingMetrics.Builder
avoiding the need to create one manually viaTrainingMetrics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totrainingMetrics(TrainingMetrics)
.- Parameters:
trainingMetrics
- a consumer that will call methods onTrainingMetrics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
validationMetrics
GetModelCustomizationJobResponse.Builder validationMetrics(Collection<ValidatorMetric> validationMetrics) The loss metric for each validator that you provided in the createjob request.
- Parameters:
validationMetrics
- The loss metric for each validator that you provided in the createjob request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationMetrics
The loss metric for each validator that you provided in the createjob request.
- Parameters:
validationMetrics
- The loss metric for each validator that you provided in the createjob request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationMetrics
GetModelCustomizationJobResponse.Builder validationMetrics(Consumer<ValidatorMetric.Builder>... validationMetrics) The loss metric for each validator that you provided in the createjob request.
This is a convenience method that creates an instance of theValidatorMetric.Builder
avoiding the need to create one manually viaValidatorMetric.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalidationMetrics(List<ValidatorMetric>)
.- Parameters:
validationMetrics
- a consumer that will call methods onValidatorMetric.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcConfig
VPC configuration for the custom model job.
- Parameters:
vpcConfig
- VPC configuration for the custom model job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
VPC configuration for the custom model job.
This is a convenience method that creates an instance of theVpcConfig.Builder
avoiding the need to create one manually viaVpcConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfig(VpcConfig)
.- Parameters:
vpcConfig
- a consumer that will call methods onVpcConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customizationConfig
GetModelCustomizationJobResponse.Builder customizationConfig(CustomizationConfig customizationConfig) The customization configuration for the model customization job.
- Parameters:
customizationConfig
- The customization configuration for the model customization job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customizationConfig
default GetModelCustomizationJobResponse.Builder customizationConfig(Consumer<CustomizationConfig.Builder> customizationConfig) The customization configuration for the model customization job.
This is a convenience method that creates an instance of theCustomizationConfig.Builder
avoiding the need to create one manually viaCustomizationConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomizationConfig(CustomizationConfig)
.- Parameters:
customizationConfig
- a consumer that will call methods onCustomizationConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-