@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteBackupResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The response object for the DeleteBackup
operation.
Constructor and Description |
---|
DeleteBackupResult() |
Modifier and Type | Method and Description |
---|---|
DeleteBackupResult |
clone() |
boolean |
equals(Object obj) |
String |
getBackupId()
The ID of the backup that was deleted.
|
String |
getLifecycle()
The lifecycle status of the backup.
|
int |
hashCode() |
void |
setBackupId(String backupId)
The ID of the backup that was deleted.
|
void |
setLifecycle(String lifecycle)
The lifecycle status of the backup.
|
String |
toString()
Returns a string representation of this object.
|
DeleteBackupResult |
withBackupId(String backupId)
The ID of the backup that was deleted.
|
DeleteBackupResult |
withLifecycle(BackupLifecycle lifecycle)
The lifecycle status of the backup.
|
DeleteBackupResult |
withLifecycle(String lifecycle)
The lifecycle status of the backup.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setBackupId(String backupId)
The ID of the backup that was deleted.
backupId
- The ID of the backup that was deleted.public String getBackupId()
The ID of the backup that was deleted.
public DeleteBackupResult withBackupId(String backupId)
The ID of the backup that was deleted.
backupId
- The ID of the backup that was deleted.public void setLifecycle(String lifecycle)
The lifecycle status of the backup. If the DeleteBackup
operation is successful, the status is
DELETED
.
lifecycle
- The lifecycle status of the backup. If the DeleteBackup
operation is successful, the status
is DELETED
.BackupLifecycle
public String getLifecycle()
The lifecycle status of the backup. If the DeleteBackup
operation is successful, the status is
DELETED
.
DeleteBackup
operation is successful, the status
is DELETED
.BackupLifecycle
public DeleteBackupResult withLifecycle(String lifecycle)
The lifecycle status of the backup. If the DeleteBackup
operation is successful, the status is
DELETED
.
lifecycle
- The lifecycle status of the backup. If the DeleteBackup
operation is successful, the status
is DELETED
.BackupLifecycle
public DeleteBackupResult withLifecycle(BackupLifecycle lifecycle)
The lifecycle status of the backup. If the DeleteBackup
operation is successful, the status is
DELETED
.
lifecycle
- The lifecycle status of the backup. If the DeleteBackup
operation is successful, the status
is DELETED
.BackupLifecycle
public String toString()
toString
in class Object
Object.toString()
public DeleteBackupResult clone()