@Generated(value="software.amazon.awssdk:codegen") public final class DescribeFirewallPolicyResponse extends NetworkFirewallResponse implements ToCopyableBuilder<DescribeFirewallPolicyResponse.Builder,DescribeFirewallPolicyResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeFirewallPolicyResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeFirewallPolicyResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FirewallPolicy |
firewallPolicy()
The policy for the specified firewall policy.
|
FirewallPolicyResponse |
firewallPolicyResponse()
The high-level properties of a firewall policy.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeFirewallPolicyResponse.Builder> |
serializableBuilderClass() |
DescribeFirewallPolicyResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
updateToken()
A token used for optimistic locking.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
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 final 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.
public final FirewallPolicy firewallPolicy()
The policy for the specified firewall policy.
public DescribeFirewallPolicyResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeFirewallPolicyResponse.Builder,DescribeFirewallPolicyResponse>toBuilder in class AwsResponsepublic static DescribeFirewallPolicyResponse.Builder builder()
public static Class<? extends DescribeFirewallPolicyResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.