@Generated(value="software.amazon.awssdk:codegen") public final class UpdateEndpointWeightsAndCapacitiesRequest extends SageMakerRequest implements ToCopyableBuilder<UpdateEndpointWeightsAndCapacitiesRequest.Builder,UpdateEndpointWeightsAndCapacitiesRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateEndpointWeightsAndCapacitiesRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static UpdateEndpointWeightsAndCapacitiesRequest.Builder |
builder() |
List<DesiredWeightAndCapacity> |
desiredWeightsAndCapacities()
An object that provides new capacity and weight values for a variant.
|
String |
endpointName()
The name of an existing Amazon SageMaker endpoint.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDesiredWeightsAndCapacities()
Returns true if the DesiredWeightsAndCapacities property was specified by the sender (it may be empty), or false
if the sender did not specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateEndpointWeightsAndCapacitiesRequest.Builder> |
serializableBuilderClass() |
UpdateEndpointWeightsAndCapacitiesRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String endpointName()
The name of an existing Amazon SageMaker endpoint.
public final boolean hasDesiredWeightsAndCapacities()
public final List<DesiredWeightAndCapacity> desiredWeightsAndCapacities()
An object that provides new capacity and weight values for a variant.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDesiredWeightsAndCapacities()
to see if a value was sent in this field.
public UpdateEndpointWeightsAndCapacitiesRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<UpdateEndpointWeightsAndCapacitiesRequest.Builder,UpdateEndpointWeightsAndCapacitiesRequest>
toBuilder
in class SageMakerRequest
public static UpdateEndpointWeightsAndCapacitiesRequest.Builder builder()
public static Class<? extends UpdateEndpointWeightsAndCapacitiesRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2021. All rights reserved.