Interface UpdateEndpointWeightsAndCapacitiesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateEndpointWeightsAndCapacitiesRequest.Builder,,UpdateEndpointWeightsAndCapacitiesRequest> SageMakerRequest.Builder,SdkBuilder<UpdateEndpointWeightsAndCapacitiesRequest.Builder,,UpdateEndpointWeightsAndCapacitiesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateEndpointWeightsAndCapacitiesRequest
public static interface UpdateEndpointWeightsAndCapacitiesRequest.Builder
extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<UpdateEndpointWeightsAndCapacitiesRequest.Builder,UpdateEndpointWeightsAndCapacitiesRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondesiredWeightsAndCapacities(Collection<DesiredWeightAndCapacity> desiredWeightsAndCapacities) An object that provides new capacity and weight values for a variant.desiredWeightsAndCapacities(Consumer<DesiredWeightAndCapacity.Builder>... desiredWeightsAndCapacities) An object that provides new capacity and weight values for a variant.desiredWeightsAndCapacities(DesiredWeightAndCapacity... desiredWeightsAndCapacities) An object that provides new capacity and weight values for a variant.endpointName(String endpointName) The name of an existing SageMaker endpoint.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.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, sdkFields
-
Method Details
-
endpointName
The name of an existing SageMaker endpoint.
- Parameters:
endpointName- The name of an existing SageMaker endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desiredWeightsAndCapacities
UpdateEndpointWeightsAndCapacitiesRequest.Builder desiredWeightsAndCapacities(Collection<DesiredWeightAndCapacity> desiredWeightsAndCapacities) An object that provides new capacity and weight values for a variant.
- Parameters:
desiredWeightsAndCapacities- An object that provides new capacity and weight values for a variant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desiredWeightsAndCapacities
UpdateEndpointWeightsAndCapacitiesRequest.Builder desiredWeightsAndCapacities(DesiredWeightAndCapacity... desiredWeightsAndCapacities) An object that provides new capacity and weight values for a variant.
- Parameters:
desiredWeightsAndCapacities- An object that provides new capacity and weight values for a variant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desiredWeightsAndCapacities
UpdateEndpointWeightsAndCapacitiesRequest.Builder desiredWeightsAndCapacities(Consumer<DesiredWeightAndCapacity.Builder>... desiredWeightsAndCapacities) An object that provides new capacity and weight values for a variant.
This is a convenience method that creates an instance of theDesiredWeightAndCapacity.Builderavoiding the need to create one manually viaDesiredWeightAndCapacity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todesiredWeightsAndCapacities(List<DesiredWeightAndCapacity>).- Parameters:
desiredWeightsAndCapacities- a consumer that will call methods onDesiredWeightAndCapacity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateEndpointWeightsAndCapacitiesRequest.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
UpdateEndpointWeightsAndCapacitiesRequest.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.
-