@Generated(value="software.amazon.awssdk:codegen") public final class GetListenerResponse extends VpcLatticeResponse implements ToCopyableBuilder<GetListenerResponse.Builder,GetListenerResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetListenerResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the listener.
|
static GetListenerResponse.Builder |
builder() |
Instant |
createdAt()
The date and time that the listener was created, specified in ISO-8601 format.
|
RuleAction |
defaultAction()
The actions for the default listener rule.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the listener.
|
Instant |
lastUpdatedAt()
The date and time that the listener was last updated, specified in ISO-8601 format.
|
String |
name()
The name of the listener.
|
Integer |
port()
The listener port.
|
ListenerProtocol |
protocol()
The listener protocol.
|
String |
protocolAsString()
The listener protocol.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetListenerResponse.Builder> |
serializableBuilderClass() |
String |
serviceArn()
The Amazon Resource Name (ARN) of the service.
|
String |
serviceId()
The ID of the service.
|
GetListenerResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name (ARN) of the listener.
public final Instant createdAt()
The date and time that the listener was created, specified in ISO-8601 format.
public final RuleAction defaultAction()
The actions for the default listener rule.
public final String id()
The ID of the listener.
public final Instant lastUpdatedAt()
The date and time that the listener was last updated, specified in ISO-8601 format.
public final String name()
The name of the listener.
public final Integer port()
The listener port.
public final ListenerProtocol protocol()
The listener protocol.
If the service returns an enum value that is not available in the current SDK version, protocol will
return ListenerProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
protocolAsString().
ListenerProtocolpublic final String protocolAsString()
The listener protocol.
If the service returns an enum value that is not available in the current SDK version, protocol will
return ListenerProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
protocolAsString().
ListenerProtocolpublic final String serviceArn()
The Amazon Resource Name (ARN) of the service.
public final String serviceId()
The ID of the service.
public GetListenerResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetListenerResponse.Builder,GetListenerResponse>toBuilder in class AwsResponsepublic static GetListenerResponse.Builder builder()
public static Class<? extends GetListenerResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.