@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartZonalShiftRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
StartZonalShiftRequest() |
| Modifier and Type | Method and Description |
|---|---|
StartZonalShiftRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAwayFrom()
The Availability Zone that traffic is moved away from for a resource when you start a zonal shift.
|
String |
getComment()
A comment that you enter about the zonal shift.
|
String |
getExpiresIn()
The length of time that you want a zonal shift to be active, which Route 53 ARC converts to an expiry time
(expiration time).
|
String |
getResourceIdentifier()
The identifier for the resource to include in a zonal shift.
|
int |
hashCode() |
void |
setAwayFrom(String awayFrom)
The Availability Zone that traffic is moved away from for a resource when you start a zonal shift.
|
void |
setComment(String comment)
A comment that you enter about the zonal shift.
|
void |
setExpiresIn(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).
|
void |
setResourceIdentifier(String resourceIdentifier)
The identifier for the resource to include in a zonal shift.
|
String |
toString()
Returns a string representation of this object.
|
StartZonalShiftRequest |
withAwayFrom(String awayFrom)
The Availability Zone that traffic is moved away from for a resource when you start a zonal shift.
|
StartZonalShiftRequest |
withComment(String comment)
A comment that you enter about the zonal shift.
|
StartZonalShiftRequest |
withExpiresIn(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).
|
StartZonalShiftRequest |
withResourceIdentifier(String resourceIdentifier)
The identifier for the resource to include in a zonal shift.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setAwayFrom(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.
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 String getAwayFrom()
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 StartZonalShiftRequest withAwayFrom(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.
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 void setComment(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.
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 String getComment()
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 StartZonalShiftRequest withComment(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.
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 void setExpiresIn(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>
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> public String getExpiresIn()
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 StartZonalShiftRequest withExpiresIn(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>
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> public void setResourceIdentifier(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.
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.
public String getResourceIdentifier()
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 withResourceIdentifier(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.
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.
public String toString()
toString in class ObjectObject.toString()public StartZonalShiftRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2023. All rights reserved.