Class NetworkEndpoint
- java.lang.Object
-
- software.amazon.awssdk.services.guardduty.model.NetworkEndpoint
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NetworkEndpoint.Builder,NetworkEndpoint>
@Generated("software.amazon.awssdk:codegen") public final class NetworkEndpoint extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NetworkEndpoint.Builder,NetworkEndpoint>
Contains information about network endpoints that were observed in the attack sequence.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNetworkEndpoint.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AutonomousSystemautonomousSystem()The Autonomous System (AS) of the network endpoint.static NetworkEndpoint.Builderbuilder()NetworkConnectionconnection()Information about the network connection.Stringdomain()The domain information for the network endpoint.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The ID of the network endpoint.Stringip()The IP address associated with the network endpoint.NetworkGeoLocationlocation()Information about the location of the network endpoint.Integerport()The port number associated with the network endpoint.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends NetworkEndpoint.Builder>serializableBuilderClass()NetworkEndpoint.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
-
id
public final String id()
The ID of the network endpoint.
- Returns:
- The ID of the network endpoint.
-
ip
public final String ip()
The IP address associated with the network endpoint.
- Returns:
- The IP address associated with the network endpoint.
-
domain
public final String domain()
The domain information for the network endpoint.
- Returns:
- The domain information for the network endpoint.
-
port
public final Integer port()
The port number associated with the network endpoint.
- Returns:
- The port number associated with the network endpoint.
-
location
public final NetworkGeoLocation location()
Information about the location of the network endpoint.
- Returns:
- Information about the location of the network endpoint.
-
autonomousSystem
public final AutonomousSystem autonomousSystem()
The Autonomous System (AS) of the network endpoint.
- Returns:
- The Autonomous System (AS) of the network endpoint.
-
connection
public final NetworkConnection connection()
Information about the network connection.
- Returns:
- Information about the network connection.
-
toBuilder
public NetworkEndpoint.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NetworkEndpoint.Builder,NetworkEndpoint>
-
builder
public static NetworkEndpoint.Builder builder()
-
serializableBuilderClass
public static Class<? extends NetworkEndpoint.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
-
-