Interface CreateModelImportJobRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BedrockRequest.Builder,Buildable,CopyableBuilder<CreateModelImportJobRequest.Builder,CreateModelImportJobRequest>,SdkBuilder<CreateModelImportJobRequest.Builder,CreateModelImportJobRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateModelImportJobRequest
@Mutable @NotThreadSafe public static interface CreateModelImportJobRequest.Builder extends BedrockRequest.Builder, SdkPojo, CopyableBuilder<CreateModelImportJobRequest.Builder,CreateModelImportJobRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateModelImportJobRequest.BuilderclientRequestToken(String clientRequestToken)A unique, case-sensitive identifier to ensure that the API request completes no more than one time.CreateModelImportJobRequest.BuilderimportedModelKmsKeyId(String importedModelKmsKeyId)The imported model is encrypted at rest using this key.CreateModelImportJobRequest.BuilderimportedModelName(String importedModelName)The name of the imported model.CreateModelImportJobRequest.BuilderimportedModelTags(Collection<Tag> importedModelTags)Tags to attach to the imported model.CreateModelImportJobRequest.BuilderimportedModelTags(Consumer<Tag.Builder>... importedModelTags)Tags to attach to the imported model.CreateModelImportJobRequest.BuilderimportedModelTags(Tag... importedModelTags)Tags to attach to the imported model.CreateModelImportJobRequest.BuilderjobName(String jobName)The name of the import job.CreateModelImportJobRequest.BuilderjobTags(Collection<Tag> jobTags)Tags to attach to this import job.CreateModelImportJobRequest.BuilderjobTags(Consumer<Tag.Builder>... jobTags)Tags to attach to this import job.CreateModelImportJobRequest.BuilderjobTags(Tag... jobTags)Tags to attach to this import job.default CreateModelImportJobRequest.BuildermodelDataSource(Consumer<ModelDataSource.Builder> modelDataSource)The data source for the imported model.CreateModelImportJobRequest.BuildermodelDataSource(ModelDataSource modelDataSource)The data source for the imported model.CreateModelImportJobRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateModelImportJobRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateModelImportJobRequest.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of the model import job.default CreateModelImportJobRequest.BuildervpcConfig(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.CreateModelImportJobRequest.BuildervpcConfig(VpcConfig vpcConfig)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 Detail
-
jobName
CreateModelImportJobRequest.Builder jobName(String 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
CreateModelImportJobRequest.Builder importedModelName(String 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
CreateModelImportJobRequest.Builder roleArn(String 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
CreateModelImportJobRequest.Builder modelDataSource(ModelDataSource 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.Builderavoiding the need to create one manually viaModelDataSource.builder().When the
Consumercompletes,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:
modelDataSource(ModelDataSource)
-
jobTags
CreateModelImportJobRequest.Builder jobTags(Collection<Tag> 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
CreateModelImportJobRequest.Builder jobTags(Tag... 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
CreateModelImportJobRequest.Builder jobTags(Consumer<Tag.Builder>... jobTags)
Tags to attach to this import job.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#jobTags(List.) - 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:
#jobTags(java.util.Collection)
-
importedModelTags
CreateModelImportJobRequest.Builder importedModelTags(Collection<Tag> 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
CreateModelImportJobRequest.Builder importedModelTags(Tag... 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
CreateModelImportJobRequest.Builder importedModelTags(Consumer<Tag.Builder>... importedModelTags)
Tags to attach to the imported model.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#importedModelTags(List.) - 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:
#importedModelTags(java.util.Collection)
-
clientRequestToken
CreateModelImportJobRequest.Builder clientRequestToken(String 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
CreateModelImportJobRequest.Builder vpcConfig(VpcConfig 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
default CreateModelImportJobRequest.Builder 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.
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)
-
importedModelKmsKeyId
CreateModelImportJobRequest.Builder importedModelKmsKeyId(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateModelImportJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-