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
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
-
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 Detail
-
endpointName
UpdateEndpointWeightsAndCapacitiesRequest.Builder endpointName(String 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 to#desiredWeightsAndCapacities(List.) - 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:
#desiredWeightsAndCapacities(java.util.Collection)
-
overrideConfiguration
UpdateEndpointWeightsAndCapacitiesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateEndpointWeightsAndCapacitiesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-