@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutManagedRuleSetVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PutManagedRuleSetVersionsResult() |
Modifier and Type | Method and Description |
---|---|
PutManagedRuleSetVersionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextLockToken()
A token used for optimistic locking.
|
int |
hashCode() |
void |
setNextLockToken(String nextLockToken)
A token used for optimistic locking.
|
String |
toString()
Returns a string representation of this object.
|
PutManagedRuleSetVersionsResult |
withNextLockToken(String nextLockToken)
A token used for optimistic locking.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 PutManagedRuleSetVersionsResult 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 PutManagedRuleSetVersionsResult clone()