Class UpdateZonalAutoshiftConfigurationRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.arczonalshift.model.ArcZonalShiftRequest
-
- software.amazon.awssdk.services.arczonalshift.model.UpdateZonalAutoshiftConfigurationRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateZonalAutoshiftConfigurationRequest.Builder,UpdateZonalAutoshiftConfigurationRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateZonalAutoshiftConfigurationRequest extends ArcZonalShiftRequest implements ToCopyableBuilder<UpdateZonalAutoshiftConfigurationRequest.Builder,UpdateZonalAutoshiftConfigurationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateZonalAutoshiftConfigurationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateZonalAutoshiftConfigurationRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringresourceIdentifier()The identifier for the resource that you want to update the zonal autoshift configuration for.List<SdkField<?>>sdkFields()static Class<? extends UpdateZonalAutoshiftConfigurationRequest.Builder>serializableBuilderClass()UpdateZonalAutoshiftConfigurationRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.ZonalAutoshiftStatuszonalAutoshiftStatus()The zonal autoshift status for the resource that you want to update the zonal autoshift configuration for.StringzonalAutoshiftStatusAsString()The zonal autoshift status for the resource that you want to update the zonal autoshift configuration for.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
resourceIdentifier
public final String resourceIdentifier()
The identifier for the resource that you want to update the zonal autoshift configuration for. The identifier is the Amazon Resource Name (ARN) for the resource.
- Returns:
- The identifier for the resource that you want to update the zonal autoshift configuration for. The identifier is the Amazon Resource Name (ARN) for the resource.
-
zonalAutoshiftStatus
public final ZonalAutoshiftStatus zonalAutoshiftStatus()
The zonal autoshift status for the resource that you want to update the zonal autoshift configuration for. Choose
ENABLEDto authorize Amazon Web Services to shift away resource traffic for an application from an Availability Zone during events, on your behalf, to help reduce time to recovery.If the service returns an enum value that is not available in the current SDK version,
zonalAutoshiftStatuswill returnZonalAutoshiftStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromzonalAutoshiftStatusAsString().- Returns:
- The zonal autoshift status for the resource that you want to update the zonal autoshift configuration
for. Choose
ENABLEDto authorize Amazon Web Services to shift away resource traffic for an application from an Availability Zone during events, on your behalf, to help reduce time to recovery. - See Also:
ZonalAutoshiftStatus
-
zonalAutoshiftStatusAsString
public final String zonalAutoshiftStatusAsString()
The zonal autoshift status for the resource that you want to update the zonal autoshift configuration for. Choose
ENABLEDto authorize Amazon Web Services to shift away resource traffic for an application from an Availability Zone during events, on your behalf, to help reduce time to recovery.If the service returns an enum value that is not available in the current SDK version,
zonalAutoshiftStatuswill returnZonalAutoshiftStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromzonalAutoshiftStatusAsString().- Returns:
- The zonal autoshift status for the resource that you want to update the zonal autoshift configuration
for. Choose
ENABLEDto authorize Amazon Web Services to shift away resource traffic for an application from an Availability Zone during events, on your behalf, to help reduce time to recovery. - See Also:
ZonalAutoshiftStatus
-
toBuilder
public UpdateZonalAutoshiftConfigurationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateZonalAutoshiftConfigurationRequest.Builder,UpdateZonalAutoshiftConfigurationRequest>- Specified by:
toBuilderin classArcZonalShiftRequest
-
builder
public static UpdateZonalAutoshiftConfigurationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateZonalAutoshiftConfigurationRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-