Class NetworkHeader
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.NetworkHeader
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NetworkHeader.Builder,NetworkHeader>
@Generated("software.amazon.awssdk:codegen") public final class NetworkHeader extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NetworkHeader.Builder,NetworkHeader>
Details about a network path component that occurs before or after the current component.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNetworkHeader.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NetworkHeader.Builderbuilder()NetworkPathComponentDetailsdestination()Information about the destination of the component.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringprotocol()The protocol used for the component.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends NetworkHeader.Builder>serializableBuilderClass()NetworkPathComponentDetailssource()Information about the origin of the component.NetworkHeader.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
protocol
public final String protocol()
The protocol used for the component.
Length Constraints: Minimum of 1. Maximum of 16.
- Returns:
- The protocol used for the component.
Length Constraints: Minimum of 1. Maximum of 16.
-
destination
public final NetworkPathComponentDetails destination()
Information about the destination of the component.
- Returns:
- Information about the destination of the component.
-
source
public final NetworkPathComponentDetails source()
Information about the origin of the component.
- Returns:
- Information about the origin of the component.
-
toBuilder
public NetworkHeader.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NetworkHeader.Builder,NetworkHeader>
-
builder
public static NetworkHeader.Builder builder()
-
serializableBuilderClass
public static Class<? extends NetworkHeader.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-