@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateManagedRuleSetVersionExpiryDateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateManagedRuleSetVersionExpiryDateResult() |
Modifier and Type | Method and Description |
---|---|
UpdateManagedRuleSetVersionExpiryDateResult |
clone() |
boolean |
equals(Object obj) |
String |
getExpiringVersion()
The version that is set to expire.
|
Date |
getExpiryTimestamp()
The time that the version will expire.
|
String |
getNextLockToken()
A token used for optimistic locking.
|
int |
hashCode() |
void |
setExpiringVersion(String expiringVersion)
The version that is set to expire.
|
void |
setExpiryTimestamp(Date expiryTimestamp)
The time that the version will expire.
|
void |
setNextLockToken(String nextLockToken)
A token used for optimistic locking.
|
String |
toString()
Returns a string representation of this object.
|
UpdateManagedRuleSetVersionExpiryDateResult |
withExpiringVersion(String expiringVersion)
The version that is set to expire.
|
UpdateManagedRuleSetVersionExpiryDateResult |
withExpiryTimestamp(Date expiryTimestamp)
The time that the version will expire.
|
UpdateManagedRuleSetVersionExpiryDateResult |
withNextLockToken(String nextLockToken)
A token used for optimistic locking.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public UpdateManagedRuleSetVersionExpiryDateResult()
public void setExpiringVersion(String expiringVersion)
The version that is set to expire.
expiringVersion
- The version that is set to expire.public String getExpiringVersion()
The version that is set to expire.
public UpdateManagedRuleSetVersionExpiryDateResult withExpiringVersion(String expiringVersion)
The version that is set to expire.
expiringVersion
- The version that is set to expire.public void setExpiryTimestamp(Date expiryTimestamp)
The time that the version will expire.
Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".
expiryTimestamp
- The time that the version will expire.
Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".
public Date getExpiryTimestamp()
The time that the version will expire.
Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".
Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".
public UpdateManagedRuleSetVersionExpiryDateResult withExpiryTimestamp(Date expiryTimestamp)
The time that the version will expire.
Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".
expiryTimestamp
- The time that the version will expire.
Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".
public void setNextLockToken(String nextLockToken)
A token used for optimistic locking. WAF returns a token to your get
and list
requests,
to mark the state of the entity at the time of the request. To make changes to the entity associated with the
token, you provide the token to operations like update
and delete
. WAF uses the token
to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made,
the update fails with a WAFOptimisticLockException
. If this happens, perform another
get
, and use the new token returned by that operation.
nextLockToken
- A token used for optimistic locking. WAF returns a token to your get
and list
requests, to mark the state of the entity at the time of the request. To make changes to the entity
associated with the token, you provide the token to operations like update
and
delete
. WAF uses the token to ensure that no changes have been made to the entity since you
last retrieved it. If a change has been made, the update fails with a
WAFOptimisticLockException
. If this happens, perform another get
, and use the
new token returned by that operation.public String getNextLockToken()
A token used for optimistic locking. WAF returns a token to your get
and list
requests,
to mark the state of the entity at the time of the request. To make changes to the entity associated with the
token, you provide the token to operations like update
and delete
. WAF uses the token
to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made,
the update fails with a WAFOptimisticLockException
. If this happens, perform another
get
, and use the new token returned by that operation.
get
and list
requests, to mark the state of the entity at the time of the request. To make changes to the entity
associated with the token, you provide the token to operations like update
and
delete
. WAF uses the token to ensure that no changes have been made to the entity since you
last retrieved it. If a change has been made, the update fails with a
WAFOptimisticLockException
. If this happens, perform another get
, and use the
new token returned by that operation.public UpdateManagedRuleSetVersionExpiryDateResult withNextLockToken(String nextLockToken)
A token used for optimistic locking. WAF returns a token to your get
and list
requests,
to mark the state of the entity at the time of the request. To make changes to the entity associated with the
token, you provide the token to operations like update
and delete
. WAF uses the token
to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made,
the update fails with a WAFOptimisticLockException
. If this happens, perform another
get
, and use the new token returned by that operation.
nextLockToken
- A token used for optimistic locking. WAF returns a token to your get
and list
requests, to mark the state of the entity at the time of the request. To make changes to the entity
associated with the token, you provide the token to operations like update
and
delete
. WAF uses the token to ensure that no changes have been made to the entity since you
last retrieved it. If a change has been made, the update fails with a
WAFOptimisticLockException
. If this happens, perform another get
, and use the
new token returned by that operation.public String toString()
toString
in class Object
Object.toString()
public UpdateManagedRuleSetVersionExpiryDateResult clone()