Interface CreateModelImportJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockRequest.Builder
,Buildable
,CopyableBuilder<CreateModelImportJobRequest.Builder,
,CreateModelImportJobRequest> SdkBuilder<CreateModelImportJobRequest.Builder,
,CreateModelImportJobRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateModelImportJobRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken
(String clientRequestToken) A unique, case-sensitive identifier to ensure that the API request completes no more than one time.importedModelKmsKeyId
(String importedModelKmsKeyId) The imported model is encrypted at rest using this key.importedModelName
(String importedModelName) The name of the imported model.importedModelTags
(Collection<Tag> importedModelTags) Tags to attach to the imported model.importedModelTags
(Consumer<Tag.Builder>... importedModelTags) Tags to attach to the imported model.importedModelTags
(Tag... importedModelTags) Tags to attach to the imported model.The name of the import job.jobTags
(Collection<Tag> jobTags) Tags to attach to this import job.jobTags
(Consumer<Tag.Builder>... jobTags) Tags to attach to this import job.Tags to attach to this import job.modelDataSource
(Consumer<ModelDataSource.Builder> modelDataSource) The data source for the imported model.modelDataSource
(ModelDataSource modelDataSource) The data source for the imported model.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the model import job.vpcConfig
(Consumer<VpcConfig.Builder> vpcConfig) VPC configuration parameters for the private Virtual Private Cloud (VPC) that contains the resources you are using for the import job.VPC configuration parameters for the private Virtual Private Cloud (VPC) that contains the resources you are using for the import job.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockRequest.Builder
build
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
-
Method Details
-
jobName
The name of the import job.
- Parameters:
jobName
- The name of the import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importedModelName
The name of the imported model.
- Parameters:
importedModelName
- The name of the imported model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The Amazon Resource Name (ARN) of the model import job.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the model import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelDataSource
The data source for the imported model.
- Parameters:
modelDataSource
- The data source for the imported model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelDataSource
default CreateModelImportJobRequest.Builder modelDataSource(Consumer<ModelDataSource.Builder> modelDataSource) The data source for the imported model.
This is a convenience method that creates an instance of theModelDataSource.Builder
avoiding the need to create one manually viaModelDataSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodelDataSource(ModelDataSource)
.- Parameters:
modelDataSource
- a consumer that will call methods onModelDataSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobTags
Tags to attach to this import job.
- Parameters:
jobTags
- Tags to attach to this import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobTags
Tags to attach to this import job.
- Parameters:
jobTags
- Tags to attach to this import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobTags
Tags to attach to this import job.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobTags(List<Tag>)
.- Parameters:
jobTags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
importedModelTags
Tags to attach to the imported model.
- Parameters:
importedModelTags
- Tags to attach to the imported model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importedModelTags
Tags to attach to the imported model.
- Parameters:
importedModelTags
- Tags to attach to the imported model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importedModelTags
Tags to attach to the imported model.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimportedModelTags(List<Tag>)
.- Parameters:
importedModelTags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientRequestToken
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
- Parameters:
clientRequestToken
- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
VPC configuration parameters for the private Virtual Private Cloud (VPC) that contains the resources you are using for the import job.
- Parameters:
vpcConfig
- VPC configuration parameters for the private Virtual Private Cloud (VPC) that contains the resources you are using for the import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
VPC configuration parameters for the private Virtual Private Cloud (VPC) that contains the resources you are using for the import 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:
-
importedModelKmsKeyId
The imported model is encrypted at rest using this key.
- Parameters:
importedModelKmsKeyId
- The imported model is encrypted at rest using this key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateModelImportJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateModelImportJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-