Class ActionLocalPortDetails
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.ActionLocalPortDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ActionLocalPortDetails.Builder,ActionLocalPortDetails>
@Generated("software.amazon.awssdk:codegen") public final class ActionLocalPortDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ActionLocalPortDetails.Builder,ActionLocalPortDetails>
For
NetworkConnectionActionandPortProbeDetails,LocalPortDetailsprovides information about the local port that was involved in the action.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceActionLocalPortDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ActionLocalPortDetails.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 local connection.List<SdkField<?>>sdkFields()static Class<? extends ActionLocalPortDetails.Builder>serializableBuilderClass()ActionLocalPortDetails.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 local connection.
Length Constraints: 128.
- Returns:
- The port name of the local connection.
Length Constraints: 128.
-
toBuilder
public ActionLocalPortDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ActionLocalPortDetails.Builder,ActionLocalPortDetails>
-
builder
public static ActionLocalPortDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends ActionLocalPortDetails.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.
-
-