Interface UpdateMarketplaceModelEndpointRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockRequest.Builder
,Buildable
,CopyableBuilder<UpdateMarketplaceModelEndpointRequest.Builder,
,UpdateMarketplaceModelEndpointRequest> SdkBuilder<UpdateMarketplaceModelEndpointRequest.Builder,
,UpdateMarketplaceModelEndpointRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateMarketplaceModelEndpointRequest
@Mutable
@NotThreadSafe
public static interface UpdateMarketplaceModelEndpointRequest.Builder
extends BedrockRequest.Builder, SdkPojo, CopyableBuilder<UpdateMarketplaceModelEndpointRequest.Builder,UpdateMarketplaceModelEndpointRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken
(String clientRequestToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.endpointArn
(String endpointArn) The Amazon Resource Name (ARN) of the endpoint you want to update.endpointConfig
(Consumer<EndpointConfig.Builder> endpointConfig) The new configuration for the endpoint, including the number and type of instances to use.endpointConfig
(EndpointConfig endpointConfig) The new configuration for the endpoint, including the number and type of instances to use.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
endpointArn
The Amazon Resource Name (ARN) of the endpoint you want to update.
- Parameters:
endpointArn
- The Amazon Resource Name (ARN) of the endpoint you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointConfig
The new configuration for the endpoint, including the number and type of instances to use.
- Parameters:
endpointConfig
- The new configuration for the endpoint, including the number and type of instances to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointConfig
default UpdateMarketplaceModelEndpointRequest.Builder endpointConfig(Consumer<EndpointConfig.Builder> endpointConfig) The new configuration for the endpoint, including the number and type of instances to use.
This is a convenience method that creates an instance of theEndpointConfig.Builder
avoiding the need to create one manually viaEndpointConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendpointConfig(EndpointConfig)
.- Parameters:
endpointConfig
- a consumer that will call methods onEndpointConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientRequestToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This token is listed as not required because Amazon Web Services SDKs automatically generate it for you and set this parameter. If you're not using the Amazon Web Services SDK or the CLI, you must provide this token or the action will fail.
- Parameters:
clientRequestToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This token is listed as not required because Amazon Web Services SDKs automatically generate it for you and set this parameter. If you're not using the Amazon Web Services SDK or the CLI, you must provide this token or the action will fail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateMarketplaceModelEndpointRequest.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
UpdateMarketplaceModelEndpointRequest.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.
-