@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRegexPatternSetResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| GetRegexPatternSetResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| GetRegexPatternSetResult | clone() | 
| boolean | equals(Object obj) | 
| String | getLockToken()
 A token used for optimistic locking. | 
| RegexPatternSet | getRegexPatternSet() | 
| int | hashCode() | 
| void | setLockToken(String lockToken)
 A token used for optimistic locking. | 
| void | setRegexPatternSet(RegexPatternSet regexPatternSet) | 
| String | toString()Returns a string representation of this object. | 
| GetRegexPatternSetResult | withLockToken(String lockToken)
 A token used for optimistic locking. | 
| GetRegexPatternSetResult | withRegexPatternSet(RegexPatternSet regexPatternSet) | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setRegexPatternSet(RegexPatternSet regexPatternSet)
regexPatternSet - public RegexPatternSet getRegexPatternSet()
public GetRegexPatternSetResult withRegexPatternSet(RegexPatternSet regexPatternSet)
regexPatternSet - 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 GetRegexPatternSetResult 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 ObjectObject.toString()public GetRegexPatternSetResult clone()