Class AssociationStateReason
- java.lang.Object
-
- software.amazon.awssdk.services.workspaces.model.AssociationStateReason
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AssociationStateReason.Builder,AssociationStateReason>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAssociationStateReason.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssociationStateReason.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)AssociationErrorCodeerrorCode()The error code of the association deployment failure.StringerrorCodeAsString()The error code of the association deployment failure.StringerrorMessage()The error message of the association deployment failure.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends AssociationStateReason.Builder>serializableBuilderClass()AssociationStateReason.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
-
errorCode
public 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,
errorCodewill returnAssociationErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- The error code of the association deployment failure.
- See Also:
AssociationErrorCode
-
errorCodeAsString
public 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,
errorCodewill returnAssociationErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- The error code of the association deployment failure.
- See Also:
AssociationErrorCode
-
errorMessage
public final String errorMessage()
The error message of the association deployment failure.
- Returns:
- The error message of the association deployment failure.
-
toBuilder
public AssociationStateReason.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssociationStateReason.Builder,AssociationStateReason>
-
builder
public static AssociationStateReason.Builder builder()
-
serializableBuilderClass
public static Class<? extends AssociationStateReason.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.
-
-