@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateFirewallPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateFirewallPolicyResult() |
Modifier and Type | Method and Description |
---|---|
UpdateFirewallPolicyResult |
clone() |
boolean |
equals(Object obj) |
FirewallPolicyResponse |
getFirewallPolicyResponse()
The high-level properties of a firewall policy.
|
String |
getUpdateToken()
A token used for optimistic locking.
|
int |
hashCode() |
void |
setFirewallPolicyResponse(FirewallPolicyResponse firewallPolicyResponse)
The high-level properties of a firewall policy.
|
void |
setUpdateToken(String updateToken)
A token used for optimistic locking.
|
String |
toString()
Returns a string representation of this object.
|
UpdateFirewallPolicyResult |
withFirewallPolicyResponse(FirewallPolicyResponse firewallPolicyResponse)
The high-level properties of a firewall policy.
|
UpdateFirewallPolicyResult |
withUpdateToken(String updateToken)
A token used for optimistic locking.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setUpdateToken(String updateToken)
A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request.
To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure
that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an
InvalidTokenException
. If this happens, retrieve the firewall policy again to get a current copy of
it with current token. Reapply your changes as needed, then try the operation again using the new token.
updateToken
- A token used for optimistic locking. Network Firewall returns a token to your requests that access the
firewall policy. The token marks the state of the policy resource at the time of the request.
To make changes to the policy, you provide the token in your request. Network Firewall uses the token to
ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails
with an InvalidTokenException
. If this happens, retrieve the firewall policy again to get a
current copy of it with current token. Reapply your changes as needed, then try the operation again using
the new token.
public String getUpdateToken()
A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request.
To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure
that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an
InvalidTokenException
. If this happens, retrieve the firewall policy again to get a current copy of
it with current token. Reapply your changes as needed, then try the operation again using the new token.
To make changes to the policy, you provide the token in your request. Network Firewall uses the token to
ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails
with an InvalidTokenException
. If this happens, retrieve the firewall policy again to get a
current copy of it with current token. Reapply your changes as needed, then try the operation again using
the new token.
public UpdateFirewallPolicyResult withUpdateToken(String updateToken)
A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request.
To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure
that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an
InvalidTokenException
. If this happens, retrieve the firewall policy again to get a current copy of
it with current token. Reapply your changes as needed, then try the operation again using the new token.
updateToken
- A token used for optimistic locking. Network Firewall returns a token to your requests that access the
firewall policy. The token marks the state of the policy resource at the time of the request.
To make changes to the policy, you provide the token in your request. Network Firewall uses the token to
ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails
with an InvalidTokenException
. If this happens, retrieve the firewall policy again to get a
current copy of it with current token. Reapply your changes as needed, then try the operation again using
the new token.
public void setFirewallPolicyResponse(FirewallPolicyResponse firewallPolicyResponse)
The high-level properties of a firewall policy. This, along with the FirewallPolicy, define the policy. You can retrieve all objects for a firewall policy by calling DescribeFirewallPolicy.
firewallPolicyResponse
- The high-level properties of a firewall policy. This, along with the FirewallPolicy, define the
policy. You can retrieve all objects for a firewall policy by calling DescribeFirewallPolicy.public FirewallPolicyResponse getFirewallPolicyResponse()
The high-level properties of a firewall policy. This, along with the FirewallPolicy, define the policy. You can retrieve all objects for a firewall policy by calling DescribeFirewallPolicy.
public UpdateFirewallPolicyResult withFirewallPolicyResponse(FirewallPolicyResponse firewallPolicyResponse)
The high-level properties of a firewall policy. This, along with the FirewallPolicy, define the policy. You can retrieve all objects for a firewall policy by calling DescribeFirewallPolicy.
firewallPolicyResponse
- The high-level properties of a firewall policy. This, along with the FirewallPolicy, define the
policy. You can retrieve all objects for a firewall policy by calling DescribeFirewallPolicy.public String toString()
toString
in class Object
Object.toString()
public UpdateFirewallPolicyResult clone()