@Generated(value="software.amazon.awssdk:codegen") public final class TransitGatewayRegistrationStateReason extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TransitGatewayRegistrationStateReason.Builder,TransitGatewayRegistrationStateReason>
Describes the status of a transit gateway registration.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TransitGatewayRegistrationStateReason.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TransitGatewayRegistrationStateReason.Builder |
builder() |
TransitGatewayRegistrationState |
code()
The code for the state reason.
|
String |
codeAsString()
The code for the state reason.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
message()
The message for the state reason.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TransitGatewayRegistrationStateReason.Builder> |
serializableBuilderClass() |
TransitGatewayRegistrationStateReason.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final TransitGatewayRegistrationState code()
The code for the state reason.
If the service returns an enum value that is not available in the current SDK version, code will return
TransitGatewayRegistrationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from codeAsString().
TransitGatewayRegistrationStatepublic final String codeAsString()
The code for the state reason.
If the service returns an enum value that is not available in the current SDK version, code will return
TransitGatewayRegistrationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from codeAsString().
TransitGatewayRegistrationStatepublic final String message()
The message for the state reason.
public TransitGatewayRegistrationStateReason.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TransitGatewayRegistrationStateReason.Builder,TransitGatewayRegistrationStateReason>public static TransitGatewayRegistrationStateReason.Builder builder()
public static Class<? extends TransitGatewayRegistrationStateReason.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.