Class GetListenerResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.vpclattice.model.VpcLatticeResponse
-
- software.amazon.awssdk.services.vpclattice.model.GetListenerResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetListenerResponse.Builder,GetListenerResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetListenerResponse extends VpcLatticeResponse implements ToCopyableBuilder<GetListenerResponse.Builder,GetListenerResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetListenerResponse.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 GetListenerResponse.Builderbuilder()InstantcreatedAt()The date and time that the listener was created, specified in ISO-8601 format.RuleActiondefaultAction()The actions for the default listener rule.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 GetListenerResponse.Builder>serializableBuilderClass()StringserviceArn()The Amazon Resource Name (ARN) of the service.StringserviceId()The ID of the service.GetListenerResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.vpclattice.model.VpcLatticeResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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.
-
defaultAction
public final RuleAction defaultAction()
The actions for the default listener rule.
- Returns:
- The actions for the default listener rule.
-
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
-
serviceArn
public final String serviceArn()
The Amazon Resource Name (ARN) of the service.
- Returns:
- The Amazon Resource Name (ARN) of the service.
-
serviceId
public final String serviceId()
The ID of the service.
- Returns:
- The ID of the service.
-
toBuilder
public GetListenerResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetListenerResponse.Builder,GetListenerResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetListenerResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetListenerResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-