@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DisableFastSnapshotRestoreErrorItem extends Object implements Serializable, Cloneable
Contains information about the errors that occurred when disabling fast snapshot restores.
Constructor and Description |
---|
DisableFastSnapshotRestoreErrorItem() |
Modifier and Type | Method and Description |
---|---|
DisableFastSnapshotRestoreErrorItem |
clone() |
boolean |
equals(Object obj) |
List<DisableFastSnapshotRestoreStateErrorItem> |
getFastSnapshotRestoreStateErrors()
The errors.
|
String |
getSnapshotId()
The ID of the snapshot.
|
int |
hashCode() |
void |
setFastSnapshotRestoreStateErrors(Collection<DisableFastSnapshotRestoreStateErrorItem> fastSnapshotRestoreStateErrors)
The errors.
|
void |
setSnapshotId(String snapshotId)
The ID of the snapshot.
|
String |
toString()
Returns a string representation of this object.
|
DisableFastSnapshotRestoreErrorItem |
withFastSnapshotRestoreStateErrors(Collection<DisableFastSnapshotRestoreStateErrorItem> fastSnapshotRestoreStateErrors)
The errors.
|
DisableFastSnapshotRestoreErrorItem |
withFastSnapshotRestoreStateErrors(DisableFastSnapshotRestoreStateErrorItem... fastSnapshotRestoreStateErrors)
The errors.
|
DisableFastSnapshotRestoreErrorItem |
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 DisableFastSnapshotRestoreErrorItem withSnapshotId(String snapshotId)
The ID of the snapshot.
snapshotId
- The ID of the snapshot.public List<DisableFastSnapshotRestoreStateErrorItem> getFastSnapshotRestoreStateErrors()
The errors.
public void setFastSnapshotRestoreStateErrors(Collection<DisableFastSnapshotRestoreStateErrorItem> fastSnapshotRestoreStateErrors)
The errors.
fastSnapshotRestoreStateErrors
- The errors.public DisableFastSnapshotRestoreErrorItem withFastSnapshotRestoreStateErrors(DisableFastSnapshotRestoreStateErrorItem... 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 DisableFastSnapshotRestoreErrorItem withFastSnapshotRestoreStateErrors(Collection<DisableFastSnapshotRestoreStateErrorItem> fastSnapshotRestoreStateErrors)
The errors.
fastSnapshotRestoreStateErrors
- The errors.public String toString()
toString
in class Object
Object.toString()
public DisableFastSnapshotRestoreErrorItem clone()