@Generated(value="software.amazon.awssdk:codegen") public final class UpdateEndpointRequest extends SageMakerRequest implements ToCopyableBuilder<UpdateEndpointRequest.Builder,UpdateEndpointRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateEndpointRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateEndpointRequest.Builder |
builder() |
DeploymentConfig |
deploymentConfig()
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback
configurations.
|
String |
endpointConfigName()
The name of the new endpoint configuration.
|
String |
endpointName()
The name of the endpoint whose configuration you want to update.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<VariantProperty> |
excludeRetainedVariantProperties()
When you are updating endpoint resources with
RetainAllVariantProperties, whose value is set to
true, ExcludeRetainedVariantProperties specifies the list of type VariantProperty to
override with the values provided by EndpointConfig. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasExcludeRetainedVariantProperties()
For responses, this returns true if the service returned a value for the ExcludeRetainedVariantProperties
property.
|
int |
hashCode() |
Boolean |
retainAllVariantProperties()
When updating endpoint resources, enables or disables the retention of variant properties,
such as the instance count or the variant weight.
|
Boolean |
retainDeploymentConfig()
Specifies whether to reuse the last deployment configuration.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateEndpointRequest.Builder> |
serializableBuilderClass() |
UpdateEndpointRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String endpointName()
The name of the endpoint whose configuration you want to update.
public final String endpointConfigName()
The name of the new endpoint configuration.
public final Boolean retainAllVariantProperties()
When updating endpoint resources, enables or disables the retention of variant properties,
such as the instance count or the variant weight. To retain the variant properties of an endpoint when updating
it, set RetainAllVariantProperties to true. To use the variant properties specified in
a new EndpointConfig call when updating an endpoint, set RetainAllVariantProperties to
false. The default is false.
RetainAllVariantProperties to true. To use the
variant properties specified in a new EndpointConfig call when updating an endpoint, set
RetainAllVariantProperties to false. The default is false.public final boolean hasExcludeRetainedVariantProperties()
isEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may
need to differentiate between the service returning nothing (or null) and the service returning an empty
collection or map. For requests, this returns true if a value for the property was specified in the request
builder, and false if a value was not specified.public final List<VariantProperty> excludeRetainedVariantProperties()
When you are updating endpoint resources with RetainAllVariantProperties, whose value is set to
true, ExcludeRetainedVariantProperties specifies the list of type VariantProperty to
override with the values provided by EndpointConfig. If you don't specify a value for
ExcludeRetainedVariantProperties, no variant properties are overridden.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasExcludeRetainedVariantProperties()
method.
RetainAllVariantProperties, whose value is set
to true, ExcludeRetainedVariantProperties specifies the list of type VariantProperty to override with the values provided by EndpointConfig. If you don't
specify a value for ExcludeRetainedVariantProperties, no variant properties are overridden.public final DeploymentConfig deploymentConfig()
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
public final Boolean retainDeploymentConfig()
Specifies whether to reuse the last deployment configuration. The default value is false (the configuration is not reused).
public UpdateEndpointRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateEndpointRequest.Builder,UpdateEndpointRequest>toBuilder in class SageMakerRequestpublic static UpdateEndpointRequest.Builder builder()
public static Class<? extends UpdateEndpointRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.