Class SnapshotErrorMessage
- java.lang.Object
-
- software.amazon.awssdk.services.redshift.model.SnapshotErrorMessage
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SnapshotErrorMessage.Builder,SnapshotErrorMessage>
@Generated("software.amazon.awssdk:codegen") public final class SnapshotErrorMessage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SnapshotErrorMessage.Builder,SnapshotErrorMessage>
Describes the errors returned by a snapshot.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSnapshotErrorMessage.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SnapshotErrorMessage.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfailureCode()The failure code for the error.StringfailureReason()The text message describing the error.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends SnapshotErrorMessage.Builder>serializableBuilderClass()StringsnapshotClusterIdentifier()A unique identifier for the cluster.StringsnapshotIdentifier()A unique identifier for the snapshot returning the error.SnapshotErrorMessage.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
-
snapshotIdentifier
public final String snapshotIdentifier()
A unique identifier for the snapshot returning the error.
- Returns:
- A unique identifier for the snapshot returning the error.
-
snapshotClusterIdentifier
public final String snapshotClusterIdentifier()
A unique identifier for the cluster.
- Returns:
- A unique identifier for the cluster.
-
failureCode
public final String failureCode()
The failure code for the error.
- Returns:
- The failure code for the error.
-
failureReason
public final String failureReason()
The text message describing the error.
- Returns:
- The text message describing the error.
-
toBuilder
public SnapshotErrorMessage.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SnapshotErrorMessage.Builder,SnapshotErrorMessage>
-
builder
public static SnapshotErrorMessage.Builder builder()
-
serializableBuilderClass
public static Class<? extends SnapshotErrorMessage.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.
-
-