@Generated(value="software.amazon.awssdk:codegen") public final class AssociationStateReason extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssociationStateReason.Builder,AssociationStateReason>
Indicates the reason that the association deployment failed, including the error code and error message.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AssociationStateReason.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AssociationStateReason.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
AssociationErrorCode |
errorCode()
The error code of the association deployment failure.
|
String |
errorCodeAsString()
The error code of the association deployment failure.
|
String |
errorMessage()
The error message of the association deployment failure.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssociationStateReason.Builder> |
serializableBuilderClass() |
AssociationStateReason.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AssociationErrorCode errorCode()
The error code of the association deployment failure.
If the service returns an enum value that is not available in the current SDK version, errorCode will
return AssociationErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from errorCodeAsString().
AssociationErrorCodepublic final String errorCodeAsString()
The error code of the association deployment failure.
If the service returns an enum value that is not available in the current SDK version, errorCode will
return AssociationErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from errorCodeAsString().
AssociationErrorCodepublic final String errorMessage()
The error message of the association deployment failure.
public AssociationStateReason.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AssociationStateReason.Builder,AssociationStateReason>public static AssociationStateReason.Builder builder()
public static Class<? extends AssociationStateReason.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.