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