Interface UpdateGlobalInferenceGatewayRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateGlobalInferenceGatewayRequest.Builder,,UpdateGlobalInferenceGatewayRequest> SageMakerRequest.Builder,SdkBuilder<UpdateGlobalInferenceGatewayRequest.Builder,,UpdateGlobalInferenceGatewayRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateGlobalInferenceGatewayRequest
@Mutable
@NotThreadSafe
public static interface UpdateGlobalInferenceGatewayRequest.Builder
extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<UpdateGlobalInferenceGatewayRequest.Builder,UpdateGlobalInferenceGatewayRequest>
-
Method Summary
Modifier and TypeMethodDescriptionidentifier(String identifier) The name, Amazon Resource Name (ARN), or ID of the global inference gateway to update.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The new routing configuration of the global inference gateway.routing(GlobalInferenceGatewayRouting routing) The new routing configuration of the global inference gateway.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
identifier
The name, Amazon Resource Name (ARN), or ID of the global inference gateway to update.
- Parameters:
identifier- The name, Amazon Resource Name (ARN), or ID of the global inference gateway to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routing
The new routing configuration of the global inference gateway.
- Parameters:
routing- The new routing configuration of the global inference gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routing
default UpdateGlobalInferenceGatewayRequest.Builder routing(Consumer<GlobalInferenceGatewayRouting.Builder> routing) The new routing configuration of the global inference gateway.
This is a convenience method that creates an instance of theGlobalInferenceGatewayRouting.Builderavoiding the need to create one manually viaGlobalInferenceGatewayRouting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torouting(GlobalInferenceGatewayRouting).- Parameters:
routing- a consumer that will call methods onGlobalInferenceGatewayRouting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateGlobalInferenceGatewayRequest.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
UpdateGlobalInferenceGatewayRequest.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.
-