Interface UpdateProvisionedModelThroughputRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockRequest.Builder
,Buildable
,CopyableBuilder<UpdateProvisionedModelThroughputRequest.Builder,
,UpdateProvisionedModelThroughputRequest> SdkBuilder<UpdateProvisionedModelThroughputRequest.Builder,
,UpdateProvisionedModelThroughputRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateProvisionedModelThroughputRequest
-
Method Summary
Modifier and TypeMethodDescriptiondesiredModelId
(String desiredModelId) The Amazon Resource Name (ARN) of the new model to associate with this Provisioned Throughput.desiredProvisionedModelName
(String desiredProvisionedModelName) The new name for this Provisioned Throughput.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.provisionedModelId
(String provisionedModelId) The Amazon Resource Name (ARN) or name of the Provisioned Throughput to update.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, sdkFields
-
Method Details
-
provisionedModelId
The Amazon Resource Name (ARN) or name of the Provisioned Throughput to update.
- Parameters:
provisionedModelId
- The Amazon Resource Name (ARN) or name of the Provisioned Throughput to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desiredProvisionedModelName
UpdateProvisionedModelThroughputRequest.Builder desiredProvisionedModelName(String desiredProvisionedModelName) The new name for this Provisioned Throughput.
- Parameters:
desiredProvisionedModelName
- The new name for this Provisioned Throughput.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desiredModelId
The Amazon Resource Name (ARN) of the new model to associate with this Provisioned Throughput. You can't specify this field if this Provisioned Throughput is associated with a base model.
If this Provisioned Throughput is associated with a custom model, you can specify one of the following options:
-
The base model from which the custom model was customized.
-
Another custom model that was customized from the same base model as the custom model.
- Parameters:
desiredModelId
- The Amazon Resource Name (ARN) of the new model to associate with this Provisioned Throughput. You can't specify this field if this Provisioned Throughput is associated with a base model.If this Provisioned Throughput is associated with a custom model, you can specify one of the following options:
-
The base model from which the custom model was customized.
-
Another custom model that was customized from the same base model as the custom model.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overrideConfiguration
UpdateProvisionedModelThroughputRequest.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
UpdateProvisionedModelThroughputRequest.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.
-