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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaEndpointConfig.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-