Class UpdateError
- java.lang.Object
-
- software.amazon.awssdk.services.mwaa.model.UpdateError
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UpdateError.Builder,UpdateError>
@Generated("software.amazon.awssdk:codegen") public final class UpdateError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UpdateError.Builder,UpdateError>
Describes the error(s) encountered with the last update of the environment.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateError.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateError.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorCode()The error code that corresponds to the error with the last update.StringerrorMessage()The error message that corresponds to the error code.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends UpdateError.Builder>serializableBuilderClass()UpdateError.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 String errorCode()
The error code that corresponds to the error with the last update.
- Returns:
- The error code that corresponds to the error with the last update.
-
errorMessage
public final String errorMessage()
The error message that corresponds to the error code.
- Returns:
- The error message that corresponds to the error code.
-
toBuilder
public UpdateError.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateError.Builder,UpdateError>
-
builder
public static UpdateError.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateError.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.
-
-