@Generated(value="software.amazon.awssdk:codegen") public final class NetworkFirewallPolicyDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NetworkFirewallPolicyDescription.Builder,NetworkFirewallPolicyDescription>
The definition of the Network Firewall firewall policy.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NetworkFirewallPolicyDescription.Builder |
| Modifier and Type | Method and Description |
|---|---|
static NetworkFirewallPolicyDescription.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasStatefulRuleGroups()
For responses, this returns true if the service returned a value for the StatefulRuleGroups property.
|
boolean |
hasStatelessCustomActions()
For responses, this returns true if the service returned a value for the StatelessCustomActions property.
|
boolean |
hasStatelessDefaultActions()
For responses, this returns true if the service returned a value for the StatelessDefaultActions property.
|
boolean |
hasStatelessFragmentDefaultActions()
For responses, this returns true if the service returned a value for the StatelessFragmentDefaultActions
property.
|
boolean |
hasStatelessRuleGroups()
For responses, this returns true if the service returned a value for the StatelessRuleGroups property.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NetworkFirewallPolicyDescription.Builder> |
serializableBuilderClass() |
List<StatefulRuleGroup> |
statefulRuleGroups()
The stateful rule groups that are used in the Network Firewall firewall policy.
|
List<String> |
statelessCustomActions()
Names of custom actions that are available for use in the stateless default actions settings.
|
List<String> |
statelessDefaultActions()
The actions to take on packets that don't match any of the stateless rule groups.
|
List<String> |
statelessFragmentDefaultActions()
The actions to take on packet fragments that don't match any of the stateless rule groups.
|
List<StatelessRuleGroup> |
statelessRuleGroups()
The stateless rule groups that are used in the Network Firewall firewall policy.
|
NetworkFirewallPolicyDescription.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasStatelessRuleGroups()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<StatelessRuleGroup> statelessRuleGroups()
The stateless rule groups that are used in the Network Firewall firewall policy.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasStatelessRuleGroups() method.
public final boolean hasStatelessDefaultActions()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<String> statelessDefaultActions()
The actions to take on packets that don't match any of the stateless rule groups.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasStatelessDefaultActions() method.
public final boolean hasStatelessFragmentDefaultActions()
isEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may
need to differentiate between the service returning nothing (or null) and the service returning an empty
collection or map. For requests, this returns true if a value for the property was specified in the request
builder, and false if a value was not specified.public final List<String> statelessFragmentDefaultActions()
The actions to take on packet fragments that don't match any of the stateless rule groups.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasStatelessFragmentDefaultActions()
method.
public final boolean hasStatelessCustomActions()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<String> statelessCustomActions()
Names of custom actions that are available for use in the stateless default actions settings.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasStatelessCustomActions() method.
public final boolean hasStatefulRuleGroups()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<StatefulRuleGroup> statefulRuleGroups()
The stateful rule groups that are used in the Network Firewall firewall policy.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasStatefulRuleGroups() method.
public NetworkFirewallPolicyDescription.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NetworkFirewallPolicyDescription.Builder,NetworkFirewallPolicyDescription>public static NetworkFirewallPolicyDescription.Builder builder()
public static Class<? extends NetworkFirewallPolicyDescription.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.