public static interface CreateModelCustomizationJobRequest.Builder extends BedrockRequest.Builder, SdkPojo, CopyableBuilder<CreateModelCustomizationJobRequest.Builder,CreateModelCustomizationJobRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateModelCustomizationJobRequest.Builder jobName(String jobName)
Enter a unique name for the fine-tuning job.
jobName - Enter a unique name for the fine-tuning job.CreateModelCustomizationJobRequest.Builder customModelName(String customModelName)
Enter a name for the custom model.
customModelName - Enter a name for the custom model.CreateModelCustomizationJobRequest.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that Bedrock can assume to perform tasks on your behalf. For
example, during model training, Bedrock needs your permission to read input data from an S3 bucket, write
model artifacts to an S3 bucket. To pass this role to Bedrock, the caller of this API must have the
iam:PassRole permission.
roleArn - The Amazon Resource Name (ARN) of an IAM role that Bedrock can assume to perform tasks on your behalf.
For example, during model training, Bedrock needs your permission to read input data from an S3
bucket, write model artifacts to an S3 bucket. To pass this role to Bedrock, the caller of this API
must have the iam:PassRole permission.CreateModelCustomizationJobRequest.Builder clientRequestToken(String clientRequestToken)
Unique token value that you can provide. The GetModelCustomizationJob response includes the same token value.
clientRequestToken - Unique token value that you can provide. The GetModelCustomizationJob response includes the same token
value.CreateModelCustomizationJobRequest.Builder baseModelIdentifier(String baseModelIdentifier)
Name of the base model.
baseModelIdentifier - Name of the base model.CreateModelCustomizationJobRequest.Builder customModelKmsKeyId(String customModelKmsKeyId)
The custom model is encrypted at rest using this key.
customModelKmsKeyId - The custom model is encrypted at rest using this key.CreateModelCustomizationJobRequest.Builder jobTags(Collection<Tag> jobTags)
Assign tags to the job.
jobTags - Assign tags to the job.CreateModelCustomizationJobRequest.Builder jobTags(Tag... jobTags)
Assign tags to the job.
jobTags - Assign tags to the job.CreateModelCustomizationJobRequest.Builder jobTags(Consumer<Tag.Builder>... jobTags)
Assign tags to the job.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #jobTags(List.
jobTags - a consumer that will call methods on Tag.Builder#jobTags(java.util.Collection) CreateModelCustomizationJobRequest.Builder customModelTags(Collection<Tag> customModelTags)
Assign tags to the custom model.
customModelTags - Assign tags to the custom model.CreateModelCustomizationJobRequest.Builder customModelTags(Tag... customModelTags)
Assign tags to the custom model.
customModelTags - Assign tags to the custom model.CreateModelCustomizationJobRequest.Builder customModelTags(Consumer<Tag.Builder>... customModelTags)
Assign tags to the custom model.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #customModelTags(List.
customModelTags - a consumer that will call methods on Tag.Builder#customModelTags(java.util.Collection) CreateModelCustomizationJobRequest.Builder trainingDataConfig(TrainingDataConfig trainingDataConfig)
Information about the training dataset.
trainingDataConfig - Information about the training dataset.default CreateModelCustomizationJobRequest.Builder trainingDataConfig(Consumer<TrainingDataConfig.Builder> trainingDataConfig)
Information about the training dataset.
This is a convenience method that creates an instance of theTrainingDataConfig.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)CreateModelCustomizationJobRequest.Builder validationDataConfig(ValidationDataConfig validationDataConfig)
Information about the validation dataset.
validationDataConfig - Information about the validation dataset.default CreateModelCustomizationJobRequest.Builder validationDataConfig(Consumer<ValidationDataConfig.Builder> validationDataConfig)
Information about the validation dataset.
This is a convenience method that creates an instance of theValidationDataConfig.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)CreateModelCustomizationJobRequest.Builder outputDataConfig(OutputDataConfig outputDataConfig)
S3 location for the output data.
outputDataConfig - S3 location for the output data.default CreateModelCustomizationJobRequest.Builder outputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig)
S3 location for the output data.
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)CreateModelCustomizationJobRequest.Builder hyperParameters(Map<String,String> hyperParameters)
Parameters related to tuning the model.
hyperParameters - Parameters related to tuning the model.CreateModelCustomizationJobRequest.Builder vpcConfig(VpcConfig vpcConfig)
VPC configuration (optional). Configuration parameters for the private Virtual Private Cloud (VPC) that contains the resources you are using for this job.
vpcConfig - VPC configuration (optional). Configuration parameters for the private Virtual Private Cloud (VPC)
that contains the resources you are using for this job.default CreateModelCustomizationJobRequest.Builder vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
VPC configuration (optional). Configuration parameters for the private Virtual Private Cloud (VPC) that contains the resources you are using for this 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)CreateModelCustomizationJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateModelCustomizationJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.