@Generated(value="software.amazon.awssdk:codegen") public final class RuleGroupSourceStatelessRuleMatchAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RuleGroupSourceStatelessRuleMatchAttributes.Builder,RuleGroupSourceStatelessRuleMatchAttributes>
Criteria for the stateless rule.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RuleGroupSourceStatelessRuleMatchAttributes.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RuleGroupSourceStatelessRuleMatchAttributes.Builder |
builder() |
List<RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts> |
destinationPorts()
A list of port ranges to specify the destination ports to inspect for.
|
List<RuleGroupSourceStatelessRuleMatchAttributesDestinations> |
destinations()
The destination IP addresses and address ranges to inspect for, in CIDR notation.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDestinationPorts()
For responses, this returns true if the service returned a value for the DestinationPorts property.
|
boolean |
hasDestinations()
For responses, this returns true if the service returned a value for the Destinations property.
|
int |
hashCode() |
boolean |
hasProtocols()
For responses, this returns true if the service returned a value for the Protocols property.
|
boolean |
hasSourcePorts()
For responses, this returns true if the service returned a value for the SourcePorts property.
|
boolean |
hasSources()
For responses, this returns true if the service returned a value for the Sources property.
|
boolean |
hasTcpFlags()
For responses, this returns true if the service returned a value for the TcpFlags property.
|
List<Integer> |
protocols()
The protocols to inspect for.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RuleGroupSourceStatelessRuleMatchAttributes.Builder> |
serializableBuilderClass() |
List<RuleGroupSourceStatelessRuleMatchAttributesSourcePorts> |
sourcePorts()
A list of port ranges to specify the source ports to inspect for.
|
List<RuleGroupSourceStatelessRuleMatchAttributesSources> |
sources()
The source IP addresses and address ranges to inspect for, in CIDR notation.
|
List<RuleGroupSourceStatelessRuleMatchAttributesTcpFlags> |
tcpFlags()
The TCP flags and masks to inspect for.
|
RuleGroupSourceStatelessRuleMatchAttributes.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasDestinationPorts()
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<RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts> destinationPorts()
A list of port ranges to specify the destination ports to inspect for.
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 hasDestinationPorts() method.
public final boolean hasDestinations()
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<RuleGroupSourceStatelessRuleMatchAttributesDestinations> destinations()
The destination IP addresses and address ranges to inspect for, in CIDR notation.
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 hasDestinations() method.
public final boolean hasProtocols()
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<Integer> protocols()
The protocols to inspect for.
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 hasProtocols() method.
public final boolean hasSourcePorts()
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<RuleGroupSourceStatelessRuleMatchAttributesSourcePorts> sourcePorts()
A list of port ranges to specify the source ports to inspect for.
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 hasSourcePorts() method.
public final boolean hasSources()
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<RuleGroupSourceStatelessRuleMatchAttributesSources> sources()
The source IP addresses and address ranges to inspect for, in CIDR notation.
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 hasSources() method.
public final boolean hasTcpFlags()
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<RuleGroupSourceStatelessRuleMatchAttributesTcpFlags> tcpFlags()
The TCP flags and masks to inspect for.
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 hasTcpFlags() method.
public RuleGroupSourceStatelessRuleMatchAttributes.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RuleGroupSourceStatelessRuleMatchAttributes.Builder,RuleGroupSourceStatelessRuleMatchAttributes>public static RuleGroupSourceStatelessRuleMatchAttributes.Builder builder()
public static Class<? extends RuleGroupSourceStatelessRuleMatchAttributes.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.