@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateZonalShiftRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateZonalShiftRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateZonalShiftRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
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 |
getZonalShiftId()
The identifier of a zonal shift.
|
int |
hashCode() |
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 |
setZonalShiftId(String zonalShiftId)
The identifier of a zonal shift.
|
String |
toString()
Returns a string representation of this object.
|
UpdateZonalShiftRequest |
withComment(String comment)
A comment that you enter about the zonal shift.
|
UpdateZonalShiftRequest |
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).
|
UpdateZonalShiftRequest |
withZonalShiftId(String zonalShiftId)
The identifier of a zonal shift.
|
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 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 UpdateZonalShiftRequest 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:
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).
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).
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:
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 UpdateZonalShiftRequest 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:
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).
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).
public void setZonalShiftId(String zonalShiftId)
The identifier of a zonal shift.
zonalShiftId
- The identifier of a zonal shift.public String getZonalShiftId()
The identifier of a zonal shift.
public UpdateZonalShiftRequest withZonalShiftId(String zonalShiftId)
The identifier of a zonal shift.
zonalShiftId
- The identifier of a zonal shift.public String toString()
toString
in class Object
Object.toString()
public UpdateZonalShiftRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()