Class AssociateResourceError
- java.lang.Object
-
- software.amazon.awssdk.services.billingconductor.model.AssociateResourceError
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AssociateResourceError.Builder,AssociateResourceError>
@Generated("software.amazon.awssdk:codegen") public final class AssociateResourceError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssociateResourceError.Builder,AssociateResourceError>
A representation of a resource association error.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAssociateResourceError.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssociateResourceError.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmessage()The reason why the resource association failed.AssociateResourceErrorReasonreason()A static error code that's used to classify the type of failure.StringreasonAsString()A static error code that's used to classify the type of failure.List<SdkField<?>>sdkFields()static Class<? extends AssociateResourceError.Builder>serializableBuilderClass()AssociateResourceError.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
message
public final String message()
The reason why the resource association failed.
- Returns:
- The reason why the resource association failed.
-
reason
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,
reasonwill returnAssociateResourceErrorReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreasonAsString().- Returns:
- A static error code that's used to classify the type of failure.
- See Also:
AssociateResourceErrorReason
-
reasonAsString
public 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,
reasonwill returnAssociateResourceErrorReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreasonAsString().- Returns:
- A static error code that's used to classify the type of failure.
- See Also:
AssociateResourceErrorReason
-
toBuilder
public AssociateResourceError.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssociateResourceError.Builder,AssociateResourceError>
-
builder
public static AssociateResourceError.Builder builder()
-
serializableBuilderClass
public static Class<? extends AssociateResourceError.Builder> serializableBuilderClass()
-
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.
-
-