@Generated(value="software.amazon.awssdk:codegen") public final class UpdateZonalShiftRequest extends ArcZonalShiftRequest implements ToCopyableBuilder<UpdateZonalShiftRequest.Builder,UpdateZonalShiftRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateZonalShiftRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateZonalShiftRequest.Builder |
builder() |
String |
comment()
A comment that you enter about the zonal shift.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
expiresIn()
The length of time that you want a zonal shift to be active, which Route 53 ARC converts to an expiry time
(expiration time).
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateZonalShiftRequest.Builder> |
serializableBuilderClass() |
UpdateZonalShiftRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
zonalShiftId()
The identifier of a zonal shift.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String comment()
A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. A new comment overwrites any existing comment string.
public final String expiresIn()
The length of time that you want a zonal shift to be active, which Route 53 ARC converts to an expiry time (expiration time). Zonal shifts are temporary. You can set a zonal shift to be active initially for up to three days (72 hours).
If you want to still keep traffic away from an Availability Zone, you can update the zonal shift and set a new expiration. You can also cancel a zonal shift, before it expires, for example, if you're ready to restore traffic to the Availability Zone.
To set a length of time for a zonal shift to be active, specify a whole number, and then one of the following, with no space:
A lowercase letter m: To specify that the value is in minutes.
A lowercase letter h: To specify that the value is in hours.
For example: 20h means the zonal shift expires in 20 hours. 120m means the zonal shift
expires in 120 minutes (2 hours).
If you want to still keep traffic away from an Availability Zone, you can update the zonal shift and set a new expiration. You can also cancel a zonal shift, before it expires, for example, if you're ready to restore traffic to the Availability Zone.
To set a length of time for a zonal shift to be active, specify a whole number, and then one of the following, with no space:
A lowercase letter m: To specify that the value is in minutes.
A lowercase letter h: To specify that the value is in hours.
For example: 20h means the zonal shift expires in 20 hours. 120m means the
zonal shift expires in 120 minutes (2 hours).
public final String zonalShiftId()
The identifier of a zonal shift.
public UpdateZonalShiftRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateZonalShiftRequest.Builder,UpdateZonalShiftRequest>toBuilder in class ArcZonalShiftRequestpublic static UpdateZonalShiftRequest.Builder builder()
public static Class<? extends UpdateZonalShiftRequest.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.