@Generated(value="software.amazon.awssdk:codegen") public final class UpdateFirewallPolicyResponse extends NetworkFirewallResponse implements ToCopyableBuilder<UpdateFirewallPolicyResponse.Builder,UpdateFirewallPolicyResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateFirewallPolicyResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateFirewallPolicyResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
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 UpdateFirewallPolicyResponse.Builder> |
serializableBuilderClass() |
UpdateFirewallPolicyResponse.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 UpdateFirewallPolicyResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateFirewallPolicyResponse.Builder,UpdateFirewallPolicyResponse>toBuilder in class AwsResponsepublic static UpdateFirewallPolicyResponse.Builder builder()
public static Class<? extends UpdateFirewallPolicyResponse.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.