Class EnableFastSnapshotRestoreStateError
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.EnableFastSnapshotRestoreStateError
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<EnableFastSnapshotRestoreStateError.Builder,EnableFastSnapshotRestoreStateError>
@Generated("software.amazon.awssdk:codegen") public final class EnableFastSnapshotRestoreStateError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EnableFastSnapshotRestoreStateError.Builder,EnableFastSnapshotRestoreStateError>
Describes an error that occurred when enabling fast snapshot restores.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
EnableFastSnapshotRestoreStateError.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnableFastSnapshotRestoreStateError.Builder
builder()
String
code()
The error code.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
message()
The error message.List<SdkField<?>>
sdkFields()
static Class<? extends EnableFastSnapshotRestoreStateError.Builder>
serializableBuilderClass()
EnableFastSnapshotRestoreStateError.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
-
code
public final String code()
The error code.
- Returns:
- The error code.
-
message
public final String message()
The error message.
- Returns:
- The error message.
-
toBuilder
public EnableFastSnapshotRestoreStateError.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<EnableFastSnapshotRestoreStateError.Builder,EnableFastSnapshotRestoreStateError>
-
builder
public static EnableFastSnapshotRestoreStateError.Builder builder()
-
serializableBuilderClass
public static Class<? extends EnableFastSnapshotRestoreStateError.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.
-
-