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 interface
SnapshotErrorMessage.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SnapshotErrorMessage.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
String
failureCode()
The failure code for the error.String
failureReason()
The text message describing the error.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends SnapshotErrorMessage.Builder>
serializableBuilderClass()
String
snapshotClusterIdentifier()
A unique identifier for the cluster.String
snapshotIdentifier()
A unique identifier for the snapshot returning the error.SnapshotErrorMessage.Builder
toBuilder()
String
toString()
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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-