Interface CreateModelInvocationJobRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BedrockRequest.Builder,Buildable,CopyableBuilder<CreateModelInvocationJobRequest.Builder,CreateModelInvocationJobRequest>,SdkBuilder<CreateModelInvocationJobRequest.Builder,CreateModelInvocationJobRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateModelInvocationJobRequest
@Mutable @NotThreadSafe public static interface CreateModelInvocationJobRequest.Builder extends BedrockRequest.Builder, SdkPojo, CopyableBuilder<CreateModelInvocationJobRequest.Builder,CreateModelInvocationJobRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateModelInvocationJobRequest.BuilderclientRequestToken(String clientRequestToken)A unique, case-sensitive identifier to ensure that the API request completes no more than one time.default CreateModelInvocationJobRequest.BuilderinputDataConfig(Consumer<ModelInvocationJobInputDataConfig.Builder> inputDataConfig)Details about the location of the input to the batch inference job.CreateModelInvocationJobRequest.BuilderinputDataConfig(ModelInvocationJobInputDataConfig inputDataConfig)Details about the location of the input to the batch inference job.CreateModelInvocationJobRequest.BuilderjobName(String jobName)A name to give the batch inference job.CreateModelInvocationJobRequest.BuildermodelId(String modelId)The unique identifier of the foundation model to use for the batch inference job.default CreateModelInvocationJobRequest.BuilderoutputDataConfig(Consumer<ModelInvocationJobOutputDataConfig.Builder> outputDataConfig)Details about the location of the output of the batch inference job.CreateModelInvocationJobRequest.BuilderoutputDataConfig(ModelInvocationJobOutputDataConfig outputDataConfig)Details about the location of the output of the batch inference job.CreateModelInvocationJobRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateModelInvocationJobRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateModelInvocationJobRequest.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of the service role with permissions to carry out and manage batch inference.CreateModelInvocationJobRequest.Buildertags(Collection<Tag> tags)Any tags to associate with the batch inference job.CreateModelInvocationJobRequest.Buildertags(Consumer<Tag.Builder>... tags)Any tags to associate with the batch inference job.CreateModelInvocationJobRequest.Buildertags(Tag... tags)Any tags to associate with the batch inference job.CreateModelInvocationJobRequest.BuildertimeoutDurationInHours(Integer timeoutDurationInHours)The number of hours after which to force the batch inference job to time out.default CreateModelInvocationJobRequest.BuildervpcConfig(Consumer<VpcConfig.Builder> vpcConfig)The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference job.CreateModelInvocationJobRequest.BuildervpcConfig(VpcConfig vpcConfig)The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference 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
CreateModelInvocationJobRequest.Builder jobName(String jobName)
A name to give the batch inference job.
- Parameters:
jobName- A name to give the batch inference job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
CreateModelInvocationJobRequest.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of the service role with permissions to carry out and manage batch inference. You can use the console to create a default service role or follow the steps at Create a service role for batch inference.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the service role with permissions to carry out and manage batch inference. You can use the console to create a default service role or follow the steps at Create a service role for batch inference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
CreateModelInvocationJobRequest.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.
-
modelId
CreateModelInvocationJobRequest.Builder modelId(String modelId)
The unique identifier of the foundation model to use for the batch inference job.
- Parameters:
modelId- The unique identifier of the foundation model to use for the batch inference job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDataConfig
CreateModelInvocationJobRequest.Builder inputDataConfig(ModelInvocationJobInputDataConfig inputDataConfig)
Details about the location of the input to the batch inference job.
- Parameters:
inputDataConfig- Details about the location of the input to the batch inference job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDataConfig
default CreateModelInvocationJobRequest.Builder inputDataConfig(Consumer<ModelInvocationJobInputDataConfig.Builder> inputDataConfig)
Details about the location of the input to the batch inference job.
This is a convenience method that creates an instance of theModelInvocationJobInputDataConfig.Builderavoiding the need to create one manually viaModelInvocationJobInputDataConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinputDataConfig(ModelInvocationJobInputDataConfig).- Parameters:
inputDataConfig- a consumer that will call methods onModelInvocationJobInputDataConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
inputDataConfig(ModelInvocationJobInputDataConfig)
-
outputDataConfig
CreateModelInvocationJobRequest.Builder outputDataConfig(ModelInvocationJobOutputDataConfig outputDataConfig)
Details about the location of the output of the batch inference job.
- Parameters:
outputDataConfig- Details about the location of the output of the batch inference job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputDataConfig
default CreateModelInvocationJobRequest.Builder outputDataConfig(Consumer<ModelInvocationJobOutputDataConfig.Builder> outputDataConfig)
Details about the location of the output of the batch inference job.
This is a convenience method that creates an instance of theModelInvocationJobOutputDataConfig.Builderavoiding the need to create one manually viaModelInvocationJobOutputDataConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputDataConfig(ModelInvocationJobOutputDataConfig).- Parameters:
outputDataConfig- a consumer that will call methods onModelInvocationJobOutputDataConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
outputDataConfig(ModelInvocationJobOutputDataConfig)
-
vpcConfig
CreateModelInvocationJobRequest.Builder vpcConfig(VpcConfig vpcConfig)
The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference job. For more information, see Protect batch inference jobs using a VPC.
- Parameters:
vpcConfig- The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference job. For more information, see Protect batch inference jobs using a VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
default CreateModelInvocationJobRequest.Builder vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference job. For more information, see Protect batch inference jobs using a VPC.
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)
-
timeoutDurationInHours
CreateModelInvocationJobRequest.Builder timeoutDurationInHours(Integer timeoutDurationInHours)
The number of hours after which to force the batch inference job to time out.
- Parameters:
timeoutDurationInHours- The number of hours after which to force the batch inference job to time out.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateModelInvocationJobRequest.Builder tags(Collection<Tag> tags)
Any tags to associate with the batch inference job. For more information, see Tagging Amazon Bedrock resources.
- Parameters:
tags- Any tags to associate with the batch inference job. For more information, see Tagging Amazon Bedrock resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateModelInvocationJobRequest.Builder tags(Tag... tags)
Any tags to associate with the batch inference job. For more information, see Tagging Amazon Bedrock resources.
- Parameters:
tags- Any tags to associate with the batch inference job. For more information, see Tagging Amazon Bedrock resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateModelInvocationJobRequest.Builder tags(Consumer<Tag.Builder>... tags)
Any tags to associate with the batch inference job. For more information, see Tagging Amazon Bedrock resources.
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#tags(List.) - Parameters:
tags- 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:
#tags(java.util.Collection)
-
overrideConfiguration
CreateModelInvocationJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateModelInvocationJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-