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