Class ListenerSummary
- java.lang.Object
-
- software.amazon.awssdk.services.vpclattice.model.ListenerSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ListenerSummary.Builder,ListenerSummary>
@Generated("software.amazon.awssdk:codegen") public final class ListenerSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ListenerSummary.Builder,ListenerSummary>
Summary information about a listener.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListenerSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the listener.static ListenerSummary.Builderbuilder()InstantcreatedAt()The date and time that the listener was created, specified in ISO-8601 format.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The ID of the listener.InstantlastUpdatedAt()The date and time that the listener was last updated, specified in ISO-8601 format.Stringname()The name of the listener.Integerport()The listener port.ListenerProtocolprotocol()The listener protocol.StringprotocolAsString()The listener protocol.List<SdkField<?>>sdkFields()static Class<? extends ListenerSummary.Builder>serializableBuilderClass()ListenerSummary.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
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the listener.
- Returns:
- The Amazon Resource Name (ARN) of the listener.
-
createdAt
public final Instant createdAt()
The date and time that the listener was created, specified in ISO-8601 format.
- Returns:
- The date and time that the listener was created, specified in ISO-8601 format.
-
id
public final String id()
The ID of the listener.
- Returns:
- The ID of the listener.
-
lastUpdatedAt
public final Instant lastUpdatedAt()
The date and time that the listener was last updated, specified in ISO-8601 format.
- Returns:
- The date and time that the listener was last updated, specified in ISO-8601 format.
-
name
public final String name()
The name of the listener.
- Returns:
- The name of the listener.
-
port
public final Integer port()
The listener port.
- Returns:
- The listener port.
-
protocol
public final ListenerProtocol protocol()
The listener protocol.
If the service returns an enum value that is not available in the current SDK version,
protocolwill returnListenerProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprotocolAsString().- Returns:
- The listener protocol.
- See Also:
ListenerProtocol
-
protocolAsString
public final String protocolAsString()
The listener protocol.
If the service returns an enum value that is not available in the current SDK version,
protocolwill returnListenerProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprotocolAsString().- Returns:
- The listener protocol.
- See Also:
ListenerProtocol
-
toBuilder
public ListenerSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListenerSummary.Builder,ListenerSummary>
-
builder
public static ListenerSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListenerSummary.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.
-
-