public static interface UpdateEndpointWeightsAndCapacitiesRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<UpdateEndpointWeightsAndCapacitiesRequest.Builder,UpdateEndpointWeightsAndCapacitiesRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
UpdateEndpointWeightsAndCapacitiesRequest.Builder endpointName(String endpointName)
The name of an existing SageMaker endpoint.
endpointName
- The name of an existing SageMaker endpoint.UpdateEndpointWeightsAndCapacitiesRequest.Builder desiredWeightsAndCapacities(Collection<DesiredWeightAndCapacity> desiredWeightsAndCapacities)
An object that provides new capacity and weight values for a variant.
desiredWeightsAndCapacities
- An object that provides new capacity and weight values for a variant.UpdateEndpointWeightsAndCapacitiesRequest.Builder desiredWeightsAndCapacities(DesiredWeightAndCapacity... desiredWeightsAndCapacities)
An object that provides new capacity and weight values for a variant.
desiredWeightsAndCapacities
- An object that provides new capacity and weight values for a variant.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 theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #desiredWeightsAndCapacities(List)
.desiredWeightsAndCapacities
- a consumer that will call methods on List.Builder
#desiredWeightsAndCapacities(List)
UpdateEndpointWeightsAndCapacitiesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
UpdateEndpointWeightsAndCapacitiesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.