@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateEndpointRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateEndpointRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateEndpointRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
DeploymentConfig |
getDeploymentConfig()
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback
configurations.
|
String |
getEndpointConfigName()
The name of the new endpoint configuration.
|
String |
getEndpointName()
The name of the endpoint whose configuration you want to update.
|
List<VariantProperty> |
getExcludeRetainedVariantProperties()
When you are updating endpoint resources with UpdateEndpointInput$RetainAllVariantProperties, whose value
is set to
true , ExcludeRetainedVariantProperties specifies the list of type
VariantProperty to override with the values provided by EndpointConfig . |
Boolean |
getRetainAllVariantProperties()
When updating endpoint resources, enables or disables the retention of variant properties,
such as the instance count or the variant weight.
|
Boolean |
getRetainDeploymentConfig()
Specifies whether to reuse the last deployment configuration.
|
int |
hashCode() |
Boolean |
isRetainAllVariantProperties()
When updating endpoint resources, enables or disables the retention of variant properties,
such as the instance count or the variant weight.
|
Boolean |
isRetainDeploymentConfig()
Specifies whether to reuse the last deployment configuration.
|
void |
setDeploymentConfig(DeploymentConfig deploymentConfig)
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback
configurations.
|
void |
setEndpointConfigName(String endpointConfigName)
The name of the new endpoint configuration.
|
void |
setEndpointName(String endpointName)
The name of the endpoint whose configuration you want to update.
|
void |
setExcludeRetainedVariantProperties(Collection<VariantProperty> excludeRetainedVariantProperties)
When you are updating endpoint resources with UpdateEndpointInput$RetainAllVariantProperties, whose value
is set to
true , ExcludeRetainedVariantProperties specifies the list of type
VariantProperty to override with the values provided by EndpointConfig . |
void |
setRetainAllVariantProperties(Boolean retainAllVariantProperties)
When updating endpoint resources, enables or disables the retention of variant properties,
such as the instance count or the variant weight.
|
void |
setRetainDeploymentConfig(Boolean retainDeploymentConfig)
Specifies whether to reuse the last deployment configuration.
|
String |
toString()
Returns a string representation of this object.
|
UpdateEndpointRequest |
withDeploymentConfig(DeploymentConfig deploymentConfig)
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback
configurations.
|
UpdateEndpointRequest |
withEndpointConfigName(String endpointConfigName)
The name of the new endpoint configuration.
|
UpdateEndpointRequest |
withEndpointName(String endpointName)
The name of the endpoint whose configuration you want to update.
|
UpdateEndpointRequest |
withExcludeRetainedVariantProperties(Collection<VariantProperty> excludeRetainedVariantProperties)
When you are updating endpoint resources with UpdateEndpointInput$RetainAllVariantProperties, whose value
is set to
true , ExcludeRetainedVariantProperties specifies the list of type
VariantProperty to override with the values provided by EndpointConfig . |
UpdateEndpointRequest |
withExcludeRetainedVariantProperties(VariantProperty... excludeRetainedVariantProperties)
When you are updating endpoint resources with UpdateEndpointInput$RetainAllVariantProperties, whose value
is set to
true , ExcludeRetainedVariantProperties specifies the list of type
VariantProperty to override with the values provided by EndpointConfig . |
UpdateEndpointRequest |
withRetainAllVariantProperties(Boolean retainAllVariantProperties)
When updating endpoint resources, enables or disables the retention of variant properties,
such as the instance count or the variant weight.
|
UpdateEndpointRequest |
withRetainDeploymentConfig(Boolean retainDeploymentConfig)
Specifies whether to reuse the last deployment configuration.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setEndpointName(String endpointName)
The name of the endpoint whose configuration you want to update.
endpointName
- The name of the endpoint whose configuration you want to update.public String getEndpointName()
The name of the endpoint whose configuration you want to update.
public UpdateEndpointRequest withEndpointName(String endpointName)
The name of the endpoint whose configuration you want to update.
endpointName
- The name of the endpoint whose configuration you want to update.public void setEndpointConfigName(String endpointConfigName)
The name of the new endpoint configuration.
endpointConfigName
- The name of the new endpoint configuration.public String getEndpointConfigName()
The name of the new endpoint configuration.
public UpdateEndpointRequest withEndpointConfigName(String endpointConfigName)
The name of the new endpoint configuration.
endpointConfigName
- The name of the new endpoint configuration.public void setRetainAllVariantProperties(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
- 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
.public Boolean getRetainAllVariantProperties()
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 UpdateEndpointRequest withRetainAllVariantProperties(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
- 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
.public Boolean isRetainAllVariantProperties()
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 List<VariantProperty> getExcludeRetainedVariantProperties()
When you are updating endpoint resources with UpdateEndpointInput$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 ExcludeAllVariantProperties
, no variant properties are overridden.
true
, ExcludeRetainedVariantProperties
specifies the list
of type VariantProperty to override with the values provided by EndpointConfig
. If
you don't specify a value for ExcludeAllVariantProperties
, no variant properties are
overridden.public void setExcludeRetainedVariantProperties(Collection<VariantProperty> excludeRetainedVariantProperties)
When you are updating endpoint resources with UpdateEndpointInput$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 ExcludeAllVariantProperties
, no variant properties are overridden.
excludeRetainedVariantProperties
- When you are updating endpoint resources with UpdateEndpointInput$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 ExcludeAllVariantProperties
, no variant properties are overridden.public UpdateEndpointRequest withExcludeRetainedVariantProperties(VariantProperty... excludeRetainedVariantProperties)
When you are updating endpoint resources with UpdateEndpointInput$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 ExcludeAllVariantProperties
, no variant properties are overridden.
NOTE: This method appends the values to the existing list (if any). Use
setExcludeRetainedVariantProperties(java.util.Collection)
or
withExcludeRetainedVariantProperties(java.util.Collection)
if you want to override the existing values.
excludeRetainedVariantProperties
- When you are updating endpoint resources with UpdateEndpointInput$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 ExcludeAllVariantProperties
, no variant properties are overridden.public UpdateEndpointRequest withExcludeRetainedVariantProperties(Collection<VariantProperty> excludeRetainedVariantProperties)
When you are updating endpoint resources with UpdateEndpointInput$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 ExcludeAllVariantProperties
, no variant properties are overridden.
excludeRetainedVariantProperties
- When you are updating endpoint resources with UpdateEndpointInput$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 ExcludeAllVariantProperties
, no variant properties are overridden.public void setDeploymentConfig(DeploymentConfig deploymentConfig)
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
deploymentConfig
- The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback
configurations.public DeploymentConfig getDeploymentConfig()
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
public UpdateEndpointRequest withDeploymentConfig(DeploymentConfig deploymentConfig)
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
deploymentConfig
- The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback
configurations.public void setRetainDeploymentConfig(Boolean retainDeploymentConfig)
Specifies whether to reuse the last deployment configuration. The default value is false (the configuration is not reused).
retainDeploymentConfig
- Specifies whether to reuse the last deployment configuration. The default value is false (the
configuration is not reused).public Boolean getRetainDeploymentConfig()
Specifies whether to reuse the last deployment configuration. The default value is false (the configuration is not reused).
public UpdateEndpointRequest withRetainDeploymentConfig(Boolean retainDeploymentConfig)
Specifies whether to reuse the last deployment configuration. The default value is false (the configuration is not reused).
retainDeploymentConfig
- Specifies whether to reuse the last deployment configuration. The default value is false (the
configuration is not reused).public Boolean isRetainDeploymentConfig()
Specifies whether to reuse the last deployment configuration. The default value is false (the configuration is not reused).
public String toString()
toString
in class Object
Object.toString()
public UpdateEndpointRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()