Interface GetModelCustomizationJobResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockResponse.Builder,Buildable,CopyableBuilder<GetModelCustomizationJobResponse.Builder,GetModelCustomizationJobResponse>,SdkBuilder<GetModelCustomizationJobResponse.Builder,GetModelCustomizationJobResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetModelCustomizationJobResponse
public static interface GetModelCustomizationJobResponse.Builder extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<GetModelCustomizationJobResponse.Builder,GetModelCustomizationJobResponse>
-
-
Method Summary
-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
jobArn
GetModelCustomizationJobResponse.Builder jobArn(String jobArn)
The ARN of the customization job.
- Parameters:
jobArn- The ARN of the customization job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobName
GetModelCustomizationJobResponse.Builder jobName(String 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
GetModelCustomizationJobResponse.Builder outputModelName(String 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
GetModelCustomizationJobResponse.Builder outputModelArn(String outputModelArn)
The ARN of the output model.
- Parameters:
outputModelArn- The ARN of the output model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
GetModelCustomizationJobResponse.Builder clientRequestToken(String clientRequestToken)
The token that you specified in the CreateCustomizationJob request.
- Parameters:
clientRequestToken- The token that you specified in the CreateCustomizationJob request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
GetModelCustomizationJobResponse.Builder roleArn(String roleArn)
The ARN of the IAM role.
- Parameters:
roleArn- The ARN of the IAM role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
GetModelCustomizationJobResponse.Builder status(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.
- 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:
ModelCustomizationJobStatus,ModelCustomizationJobStatus
-
status
GetModelCustomizationJobResponse.Builder status(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.
- 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:
ModelCustomizationJobStatus,ModelCustomizationJobStatus
-
failureMessage
GetModelCustomizationJobResponse.Builder failureMessage(String 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
GetModelCustomizationJobResponse.Builder creationTime(Instant 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
GetModelCustomizationJobResponse.Builder lastModifiedTime(Instant 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
GetModelCustomizationJobResponse.Builder endTime(Instant 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
GetModelCustomizationJobResponse.Builder baseModelArn(String baseModelArn)
ARN of the base model.
- Parameters:
baseModelArn- ARN of the base model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hyperParameters
GetModelCustomizationJobResponse.Builder hyperParameters(Map<String,String> hyperParameters)
The hyperparameter values for the job. For information about hyperparameters for specific models, see Guidelines for model customization.
- Parameters:
hyperParameters- The hyperparameter values for the job. For information about hyperparameters for specific models, see Guidelines for model customization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingDataConfig
GetModelCustomizationJobResponse.Builder trainingDataConfig(TrainingDataConfig trainingDataConfig)
Sets the value of the TrainingDataConfig property for this object.- Parameters:
trainingDataConfig- The new value for the TrainingDataConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingDataConfig
default GetModelCustomizationJobResponse.Builder trainingDataConfig(Consumer<TrainingDataConfig.Builder> trainingDataConfig)
Sets the value of the TrainingDataConfig property for this object. This is a convenience method that creates an instance of theTrainingDataConfig.Builderavoiding the need to create one manually viaTrainingDataConfig.builder().When the
Consumercompletes,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:
trainingDataConfig(TrainingDataConfig)
-
validationDataConfig
GetModelCustomizationJobResponse.Builder validationDataConfig(ValidationDataConfig validationDataConfig)
Sets the value of the ValidationDataConfig property for this object.- Parameters:
validationDataConfig- The new value for the ValidationDataConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationDataConfig
default GetModelCustomizationJobResponse.Builder validationDataConfig(Consumer<ValidationDataConfig.Builder> validationDataConfig)
Sets the value of the ValidationDataConfig property for this object. This is a convenience method that creates an instance of theValidationDataConfig.Builderavoiding the need to create one manually viaValidationDataConfig.builder().When the
Consumercompletes,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:
validationDataConfig(ValidationDataConfig)
-
outputDataConfig
GetModelCustomizationJobResponse.Builder outputDataConfig(OutputDataConfig 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.Builderavoiding the need to create one manually viaOutputDataConfig.builder().When the
Consumercompletes,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:
outputDataConfig(OutputDataConfig)
-
customizationType
GetModelCustomizationJobResponse.Builder customizationType(String 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,CustomizationType
-
customizationType
GetModelCustomizationJobResponse.Builder customizationType(CustomizationType 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,CustomizationType
-
outputModelKmsKeyArn
GetModelCustomizationJobResponse.Builder outputModelKmsKeyArn(String 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
GetModelCustomizationJobResponse.Builder trainingMetrics(TrainingMetrics trainingMetrics)
Sets the value of the TrainingMetrics property for this object.- Parameters:
trainingMetrics- The new value for the TrainingMetrics property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingMetrics
default GetModelCustomizationJobResponse.Builder trainingMetrics(Consumer<TrainingMetrics.Builder> trainingMetrics)
Sets the value of the TrainingMetrics property for this object. This is a convenience method that creates an instance of theTrainingMetrics.Builderavoiding the need to create one manually viaTrainingMetrics.builder().When the
Consumercompletes,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:
trainingMetrics(TrainingMetrics)
-
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
GetModelCustomizationJobResponse.Builder validationMetrics(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
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.Builderavoiding the need to create one manually viaValidatorMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#validationMetrics(List.) - 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:
#validationMetrics(java.util.Collection)
-
vpcConfig
GetModelCustomizationJobResponse.Builder vpcConfig(VpcConfig 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
default GetModelCustomizationJobResponse.Builder vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
VPC configuration for the custom model job.
This is a convenience method that creates an instance of theVpcConfig.Builderavoiding the need to create one manually viaVpcConfig.builder().When the
Consumercompletes,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:
vpcConfig(VpcConfig)
-
-