@Generated(value="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.
Modifier and Type | Class and Description |
---|---|
static interface |
Network.Builder |
Modifier and Type | Method and Description |
---|---|
static Network.Builder |
builder() |
String |
destinationDomain()
The destination domain of network-related information about a finding.
|
String |
destinationIpV4()
The destination IPv4 address of network-related information about a finding.
|
String |
destinationIpV6()
The destination IPv6 address of network-related information about a finding.
|
Integer |
destinationPort()
The destination port of network-related information about a finding.
|
NetworkDirection |
direction()
The direction of network traffic associated with a finding.
|
String |
directionAsString()
The direction of network traffic associated with a finding.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
PortRange |
openPortRange()
The range of open ports that is present on the network.
|
String |
protocol()
The protocol of network-related information about a finding.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Network.Builder> |
serializableBuilderClass() |
String |
sourceDomain()
The source domain of network-related information about a finding.
|
String |
sourceIpV4()
The source IPv4 address of network-related information about a finding.
|
String |
sourceIpV6()
The source IPv6 address of network-related information about a finding.
|
String |
sourceMac()
The source media access control (MAC) address of network-related information about a finding.
|
Integer |
sourcePort()
The source port of network-related information about a finding.
|
Network.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
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, direction
will
return NetworkDirection.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
directionAsString()
.
NetworkDirection
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, direction
will
return NetworkDirection.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
directionAsString()
.
NetworkDirection
public final String protocol()
The protocol of network-related information about a finding.
public final PortRange openPortRange()
The range of open ports that is present on the network.
public final String sourceIpV4()
The source IPv4 address of network-related information about a finding.
public final String sourceIpV6()
The source IPv6 address of network-related information about a finding.
public final Integer sourcePort()
The source port of network-related information about a finding.
public final String sourceDomain()
The source domain of network-related information about a finding.
public final String sourceMac()
The source media access control (MAC) address of network-related information about a finding.
public final String destinationIpV4()
The destination IPv4 address of network-related information about a finding.
public final String destinationIpV6()
The destination IPv6 address of network-related information about a finding.
public final Integer destinationPort()
The destination port of network-related information about a finding.
public final String destinationDomain()
The destination domain of network-related information about a finding.
public Network.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Network.Builder,Network>
public static Network.Builder builder()
public static Class<? extends Network.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.