@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnableFastSnapshotRestoreErrorItem extends Object implements Serializable, Cloneable
Contains information about the errors that occurred when enabling fast snapshot restores.
Constructor and Description |
---|
EnableFastSnapshotRestoreErrorItem() |
Modifier and Type | Method and Description |
---|---|
EnableFastSnapshotRestoreErrorItem |
clone() |
boolean |
equals(Object obj) |
List<EnableFastSnapshotRestoreStateErrorItem> |
getFastSnapshotRestoreStateErrors()
The errors.
|
String |
getSnapshotId()
The ID of the snapshot.
|
int |
hashCode() |
void |
setFastSnapshotRestoreStateErrors(Collection<EnableFastSnapshotRestoreStateErrorItem> fastSnapshotRestoreStateErrors)
The errors.
|
void |
setSnapshotId(String snapshotId)
The ID of the snapshot.
|
String |
toString()
Returns a string representation of this object.
|
EnableFastSnapshotRestoreErrorItem |
withFastSnapshotRestoreStateErrors(Collection<EnableFastSnapshotRestoreStateErrorItem> fastSnapshotRestoreStateErrors)
The errors.
|
EnableFastSnapshotRestoreErrorItem |
withFastSnapshotRestoreStateErrors(EnableFastSnapshotRestoreStateErrorItem... fastSnapshotRestoreStateErrors)
The errors.
|
EnableFastSnapshotRestoreErrorItem |
withSnapshotId(String snapshotId)
The ID of the snapshot.
|
public void setSnapshotId(String snapshotId)
The ID of the snapshot.
snapshotId
- The ID of the snapshot.public String getSnapshotId()
The ID of the snapshot.
public EnableFastSnapshotRestoreErrorItem withSnapshotId(String snapshotId)
The ID of the snapshot.
snapshotId
- The ID of the snapshot.public List<EnableFastSnapshotRestoreStateErrorItem> getFastSnapshotRestoreStateErrors()
The errors.
public void setFastSnapshotRestoreStateErrors(Collection<EnableFastSnapshotRestoreStateErrorItem> fastSnapshotRestoreStateErrors)
The errors.
fastSnapshotRestoreStateErrors
- The errors.public EnableFastSnapshotRestoreErrorItem withFastSnapshotRestoreStateErrors(EnableFastSnapshotRestoreStateErrorItem... fastSnapshotRestoreStateErrors)
The errors.
NOTE: This method appends the values to the existing list (if any). Use
setFastSnapshotRestoreStateErrors(java.util.Collection)
or
withFastSnapshotRestoreStateErrors(java.util.Collection)
if you want to override the existing values.
fastSnapshotRestoreStateErrors
- The errors.public EnableFastSnapshotRestoreErrorItem withFastSnapshotRestoreStateErrors(Collection<EnableFastSnapshotRestoreStateErrorItem> fastSnapshotRestoreStateErrors)
The errors.
fastSnapshotRestoreStateErrors
- The errors.public String toString()
toString
in class Object
Object.toString()
public EnableFastSnapshotRestoreErrorItem clone()