@Generated(value="software.amazon.awssdk:codegen") public final class StartZonalShiftRequest extends ArcZonalShiftRequest implements ToCopyableBuilder<StartZonalShiftRequest.Builder,StartZonalShiftRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
StartZonalShiftRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
awayFrom()
The Availability Zone that traffic is moved away from for a resource when you start a zonal shift.
|
static StartZonalShiftRequest.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() |
String |
resourceIdentifier()
The identifier for the resource to include in a zonal shift.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StartZonalShiftRequest.Builder> |
serializableBuilderClass() |
StartZonalShiftRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String awayFrom()
The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the AWS Region.
public 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:
<ul> <li> <p> <b>A lowercase letter m:</b> To specify that the value is in minutes.</p> </li> <li> <p> <b>A lowercase letter h:</b> To specify that the value is in hours.</p> </li> </ul> <p>For example: <code>20h</code> means the zonal shift expires in 20 hours. <code>120m</code> means the zonal shift expires in 120 minutes (2 hours).</p>
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:
<ul> <li> <p> <b>A lowercase letter m:</b> To specify that the value is in minutes.</p> </li> <li> <p> <b>A lowercase letter h:</b> To specify that the value is in hours.</p> </li> </ul> <p>For example: <code>20h</code> means the zonal shift expires in 20 hours. <code>120m</code> means the zonal shift expires in 120 minutes (2 hours).</p> public final String resourceIdentifier()
The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.
At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
public StartZonalShiftRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StartZonalShiftRequest.Builder,StartZonalShiftRequest>toBuilder in class ArcZonalShiftRequestpublic static StartZonalShiftRequest.Builder builder()
public static Class<? extends StartZonalShiftRequest.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.