public static interface GetModelCustomizationJobResponse.Builder extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<GetModelCustomizationJobResponse.Builder,GetModelCustomizationJobResponse>
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetModelCustomizationJobResponse.Builder jobArn(String jobArn)
The ARN of the customization job.
jobArn - The ARN of the customization job.GetModelCustomizationJobResponse.Builder jobName(String jobName)
The name of the customization job.
jobName - The name of the customization job.GetModelCustomizationJobResponse.Builder outputModelName(String outputModelName)
The name of the output model.
outputModelName - The name of the output model.GetModelCustomizationJobResponse.Builder outputModelArn(String outputModelArn)
The ARN of the output model.
outputModelArn - The ARN of the output model.GetModelCustomizationJobResponse.Builder clientRequestToken(String clientRequestToken)
The token that you specified in the CreateCustomizationJob request.
clientRequestToken - The token that you specified in the CreateCustomizationJob request.GetModelCustomizationJobResponse.Builder roleArn(String roleArn)
The ARN of the IAM role.
roleArn - The ARN of the IAM role.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.
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,
ModelCustomizationJobStatusGetModelCustomizationJobResponse.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.
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,
ModelCustomizationJobStatusGetModelCustomizationJobResponse.Builder failureMessage(String failureMessage)
Information about why the job failed.
failureMessage - Information about why the job failed.GetModelCustomizationJobResponse.Builder creationTime(Instant creationTime)
Time that the resource was created.
creationTime - Time that the resource was created.GetModelCustomizationJobResponse.Builder lastModifiedTime(Instant lastModifiedTime)
Time that the resource was last modified.
lastModifiedTime - Time that the resource was last modified.GetModelCustomizationJobResponse.Builder endTime(Instant endTime)
Time that the resource transitioned to terminal state.
endTime - Time that the resource transitioned to terminal state.GetModelCustomizationJobResponse.Builder baseModelArn(String baseModelArn)
ARN of the base model.
baseModelArn - ARN of the base model.GetModelCustomizationJobResponse.Builder hyperParameters(Map<String,String> hyperParameters)
The hyperparameter values for the job.
hyperParameters - The hyperparameter values for the job.GetModelCustomizationJobResponse.Builder trainingDataConfig(TrainingDataConfig trainingDataConfig)
trainingDataConfig - The new value for the TrainingDataConfig property for this object.default GetModelCustomizationJobResponse.Builder trainingDataConfig(Consumer<TrainingDataConfig.Builder> trainingDataConfig)
TrainingDataConfig.Builder avoiding the
need to create one manually via TrainingDataConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to trainingDataConfig(TrainingDataConfig).
trainingDataConfig - a consumer that will call methods on TrainingDataConfig.BuildertrainingDataConfig(TrainingDataConfig)GetModelCustomizationJobResponse.Builder validationDataConfig(ValidationDataConfig validationDataConfig)
validationDataConfig - The new value for the ValidationDataConfig property for this object.default GetModelCustomizationJobResponse.Builder validationDataConfig(Consumer<ValidationDataConfig.Builder> validationDataConfig)
ValidationDataConfig.Builder avoiding
the need to create one manually via ValidationDataConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to validationDataConfig(ValidationDataConfig).
validationDataConfig - a consumer that will call methods on ValidationDataConfig.BuildervalidationDataConfig(ValidationDataConfig)GetModelCustomizationJobResponse.Builder outputDataConfig(OutputDataConfig outputDataConfig)
Output data configuration
outputDataConfig - Output data configurationdefault 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 via OutputDataConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to outputDataConfig(OutputDataConfig).
outputDataConfig - a consumer that will call methods on OutputDataConfig.BuilderoutputDataConfig(OutputDataConfig)GetModelCustomizationJobResponse.Builder outputModelKmsKeyArn(String outputModelKmsKeyArn)
The custom model is encrypted at rest using this key.
outputModelKmsKeyArn - The custom model is encrypted at rest using this key.GetModelCustomizationJobResponse.Builder trainingMetrics(TrainingMetrics trainingMetrics)
trainingMetrics - The new value for the TrainingMetrics property for this object.default GetModelCustomizationJobResponse.Builder trainingMetrics(Consumer<TrainingMetrics.Builder> trainingMetrics)
TrainingMetrics.Builder avoiding the
need to create one manually via TrainingMetrics.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to trainingMetrics(TrainingMetrics).
trainingMetrics - a consumer that will call methods on TrainingMetrics.BuildertrainingMetrics(TrainingMetrics)GetModelCustomizationJobResponse.Builder validationMetrics(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.GetModelCustomizationJobResponse.Builder validationMetrics(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.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 via ValidatorMetric.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #validationMetrics(List.
validationMetrics - a consumer that will call methods on
ValidatorMetric.Builder#validationMetrics(java.util.Collection) GetModelCustomizationJobResponse.Builder vpcConfig(VpcConfig vpcConfig)
VPC configuration for the custom model job.
vpcConfig - VPC configuration for the custom model job.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.Builder avoiding the need to
create one manually via VpcConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to vpcConfig(VpcConfig).
vpcConfig - a consumer that will call methods on VpcConfig.BuildervpcConfig(VpcConfig)Copyright © 2023. All rights reserved.