Class UpdateListenerResponse
- 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.UpdateListenerResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateListenerResponse.Builder,UpdateListenerResponse>
@Generated("software.amazon.awssdk:codegen") public final class UpdateListenerResponse extends VpcLatticeResponse implements ToCopyableBuilder<UpdateListenerResponse.Builder,UpdateListenerResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateListenerResponse.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 UpdateListenerResponse.Builderbuilder()RuleActiondefaultAction()The action for the default rule.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The ID of the listener.Stringname()The name of the listener.Integerport()The listener port.ListenerProtocolprotocol()The protocol of the listener.StringprotocolAsString()The protocol of the listener.List<SdkField<?>>sdkFields()static Class<? extends UpdateListenerResponse.Builder>serializableBuilderClass()StringserviceArn()The Amazon Resource Name (ARN) of the service.StringserviceId()The ID of the service.UpdateListenerResponse.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.
-
defaultAction
public final RuleAction defaultAction()
The action for the default rule.
- Returns:
- The action for the default rule.
-
id
public final String id()
The ID of the listener.
- Returns:
- The ID of the listener.
-
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 protocol of the listener.
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 protocol of the listener.
- See Also:
ListenerProtocol
-
protocolAsString
public final String protocolAsString()
The protocol of the listener.
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 protocol of the listener.
- 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 UpdateListenerResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateListenerResponse.Builder,UpdateListenerResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static UpdateListenerResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateListenerResponse.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
-
-