@Generated(value="software.amazon.awssdk:codegen") public final class CreateListenerResponse extends VpcLatticeResponse implements ToCopyableBuilder<CreateListenerResponse.Builder,CreateListenerResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateListenerResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the listener.
|
static CreateListenerResponse.Builder |
builder() |
RuleAction |
defaultAction()
The action for the default 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.
|
String |
name()
The name of the listener.
|
Integer |
port()
The port number of the listener.
|
ListenerProtocol |
protocol()
The protocol of the listener.
|
String |
protocolAsString()
The protocol of the listener.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateListenerResponse.Builder> |
serializableBuilderClass() |
String |
serviceArn()
The Amazon Resource Name (ARN) of the service.
|
String |
serviceId()
The ID of the service.
|
CreateListenerResponse.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 RuleAction defaultAction()
The action for the default rule.
public final String id()
The ID of the listener.
public final String name()
The name of the listener.
public final Integer port()
The port number of the listener.
public final ListenerProtocol protocol()
The protocol of the listener.
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 protocol of the listener.
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 CreateListenerResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateListenerResponse.Builder,CreateListenerResponse>toBuilder in class AwsResponsepublic static CreateListenerResponse.Builder builder()
public static Class<? extends CreateListenerResponse.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.