@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRuleGroupResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetRuleGroupResult() |
Modifier and Type | Method and Description |
---|---|
GetRuleGroupResult |
clone() |
boolean |
equals(Object obj) |
String |
getLockToken()
A token used for optimistic locking.
|
RuleGroup |
getRuleGroup()
|
int |
hashCode() |
void |
setLockToken(String lockToken)
A token used for optimistic locking.
|
void |
setRuleGroup(RuleGroup ruleGroup)
|
String |
toString()
Returns a string representation of this object.
|
GetRuleGroupResult |
withLockToken(String lockToken)
A token used for optimistic locking.
|
GetRuleGroupResult |
withRuleGroup(RuleGroup ruleGroup)
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setRuleGroup(RuleGroup ruleGroup)
ruleGroup
- public RuleGroup getRuleGroup()
public GetRuleGroupResult withRuleGroup(RuleGroup ruleGroup)
ruleGroup
- public void setLockToken(String lockToken)
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.
lockToken
- 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 getLockToken()
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.
WAFOptimisticLockException
. If this happens, perform another get, and use the new token
returned by that operation.public GetRuleGroupResult withLockToken(String lockToken)
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.
lockToken
- 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 GetRuleGroupResult clone()