Class Network
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.Network
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Network.Builder,Network>
@Generated("software.amazon.awssdk:codegen") public final class Network extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Network.Builder,Network>
The details of network-related information about a finding.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNetwork.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Network.Builderbuilder()StringdestinationDomain()The destination domain of network-related information about a finding.StringdestinationIpV4()The destination IPv4 address of network-related information about a finding.StringdestinationIpV6()The destination IPv6 address of network-related information about a finding.IntegerdestinationPort()The destination port of network-related information about a finding.NetworkDirectiondirection()The direction of network traffic associated with a finding.StringdirectionAsString()The direction of network traffic associated with a finding.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()PortRangeopenPortRange()The range of open ports that is present on the network.Stringprotocol()The protocol of network-related information about a finding.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Network.Builder>serializableBuilderClass()StringsourceDomain()The source domain of network-related information about a finding.StringsourceIpV4()The source IPv4 address of network-related information about a finding.StringsourceIpV6()The source IPv6 address of network-related information about a finding.StringsourceMac()The source media access control (MAC) address of network-related information about a finding.IntegersourcePort()The source port of network-related information about a finding.Network.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
-
direction
public final NetworkDirection direction()
The direction of network traffic associated with a finding.
If the service returns an enum value that is not available in the current SDK version,
directionwill returnNetworkDirection.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdirectionAsString().- Returns:
- The direction of network traffic associated with a finding.
- See Also:
NetworkDirection
-
directionAsString
public final String directionAsString()
The direction of network traffic associated with a finding.
If the service returns an enum value that is not available in the current SDK version,
directionwill returnNetworkDirection.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdirectionAsString().- Returns:
- The direction of network traffic associated with a finding.
- See Also:
NetworkDirection
-
protocol
public final String protocol()
The protocol of network-related information about a finding.
Length Constraints: Minimum of 1. Maximum of 16.
- Returns:
- The protocol of network-related information about a finding.
Length Constraints: Minimum of 1. Maximum of 16.
-
openPortRange
public final PortRange openPortRange()
The range of open ports that is present on the network.
- Returns:
- The range of open ports that is present on the network.
-
sourceIpV4
public final String sourceIpV4()
The source IPv4 address of network-related information about a finding.
- Returns:
- The source IPv4 address of network-related information about a finding.
-
sourceIpV6
public final String sourceIpV6()
The source IPv6 address of network-related information about a finding.
- Returns:
- The source IPv6 address of network-related information about a finding.
-
sourcePort
public final Integer sourcePort()
The source port of network-related information about a finding.
- Returns:
- The source port of network-related information about a finding.
-
sourceDomain
public final String sourceDomain()
The source domain of network-related information about a finding.
Length Constraints: Minimum of 1. Maximum of 128.
- Returns:
- The source domain of network-related information about a finding.
Length Constraints: Minimum of 1. Maximum of 128.
-
sourceMac
public final String sourceMac()
The source media access control (MAC) address of network-related information about a finding.
- Returns:
- The source media access control (MAC) address of network-related information about a finding.
-
destinationIpV4
public final String destinationIpV4()
The destination IPv4 address of network-related information about a finding.
- Returns:
- The destination IPv4 address of network-related information about a finding.
-
destinationIpV6
public final String destinationIpV6()
The destination IPv6 address of network-related information about a finding.
- Returns:
- The destination IPv6 address of network-related information about a finding.
-
destinationPort
public final Integer destinationPort()
The destination port of network-related information about a finding.
- Returns:
- The destination port of network-related information about a finding.
-
destinationDomain
public final String destinationDomain()
The destination domain of network-related information about a finding.
Length Constraints: Minimum of 1. Maximum of 128.
- Returns:
- The destination domain of network-related information about a finding.
Length Constraints: Minimum of 1. Maximum of 128.
-
toBuilder
public Network.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Network.Builder,Network>
-
builder
public static Network.Builder builder()
-
serializableBuilderClass
public static Class<? extends Network.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
-
-