Class ActionRemotePortDetails
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.ActionRemotePortDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ActionRemotePortDetails.Builder,ActionRemotePortDetails>
@Generated("software.amazon.awssdk:codegen") public final class ActionRemotePortDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ActionRemotePortDetails.Builder,ActionRemotePortDetails>
Provides information about the remote port that was involved in an attempted network connection.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceActionRemotePortDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ActionRemotePortDetails.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerport()The number of the port.StringportName()The port name of the remote connection.List<SdkField<?>>sdkFields()static Class<? extends ActionRemotePortDetails.Builder>serializableBuilderClass()ActionRemotePortDetails.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
-
port
public final Integer port()
The number of the port.
- Returns:
- The number of the port.
-
portName
public final String portName()
The port name of the remote connection.
Length Constraints: 128.
- Returns:
- The port name of the remote connection.
Length Constraints: 128.
-
toBuilder
public ActionRemotePortDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ActionRemotePortDetails.Builder,ActionRemotePortDetails>
-
builder
public static ActionRemotePortDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends ActionRemotePortDetails.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.
-
-