@Generated(value="software.amazon.awssdk:codegen") public final class AnalysisPacketHeader extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AnalysisPacketHeader.Builder,AnalysisPacketHeader>
Describes a header. Reflects any changes made by a component as traffic passes through. The fields of an inbound header are null except for the first component of a path.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AnalysisPacketHeader.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AnalysisPacketHeader.Builder |
builder() |
List<String> |
destinationAddresses()
The destination addresses.
|
List<PortRange> |
destinationPortRanges()
The destination port ranges.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDestinationAddresses()
Returns true if the DestinationAddresses property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasDestinationPortRanges()
Returns true if the DestinationPortRanges property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasSourceAddresses()
Returns true if the SourceAddresses property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasSourcePortRanges()
Returns true if the SourcePortRanges property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
String |
protocol()
The protocol.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AnalysisPacketHeader.Builder> |
serializableBuilderClass() |
List<String> |
sourceAddresses()
The source addresses.
|
List<PortRange> |
sourcePortRanges()
The source port ranges.
|
AnalysisPacketHeader.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasDestinationAddresses()
public final List<String> destinationAddresses()
The destination addresses.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDestinationAddresses() to see if a value was sent in this field.
public final boolean hasDestinationPortRanges()
public final List<PortRange> destinationPortRanges()
The destination port ranges.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDestinationPortRanges() to see if a value was sent in this field.
public final String protocol()
The protocol.
public final boolean hasSourceAddresses()
public final List<String> sourceAddresses()
The source addresses.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSourceAddresses() to see if a value was sent in this field.
public final boolean hasSourcePortRanges()
public final List<PortRange> sourcePortRanges()
The source port ranges.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSourcePortRanges() to see if a value was sent in this field.
public AnalysisPacketHeader.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AnalysisPacketHeader.Builder,AnalysisPacketHeader>public static AnalysisPacketHeader.Builder builder()
public static Class<? extends AnalysisPacketHeader.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.