@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteBackupResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The response object for 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 deleted.
|
String |
getLifecycle()
The lifecycle of the backup.
|
int |
hashCode() |
void |
setBackupId(String backupId)
The ID of the backup deleted.
|
void |
setLifecycle(String lifecycle)
The lifecycle of the backup.
|
String |
toString()
Returns a string representation of this object.
|
DeleteBackupResult |
withBackupId(String backupId)
The ID of the backup deleted.
|
DeleteBackupResult |
withLifecycle(BackupLifecycle lifecycle)
The lifecycle of the backup.
|
DeleteBackupResult |
withLifecycle(String lifecycle)
The lifecycle of the backup.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setBackupId(String backupId)
The ID of the backup deleted.
backupId
- The ID of the backup deleted.public String getBackupId()
The ID of the backup deleted.
public DeleteBackupResult withBackupId(String backupId)
The ID of the backup deleted.
backupId
- The ID of the backup deleted.public void setLifecycle(String lifecycle)
The lifecycle of the backup. Should be DELETED
.
lifecycle
- The lifecycle of the backup. Should be DELETED
.BackupLifecycle
public String getLifecycle()
The lifecycle of the backup. Should be DELETED
.
DELETED
.BackupLifecycle
public DeleteBackupResult withLifecycle(String lifecycle)
The lifecycle of the backup. Should be DELETED
.
lifecycle
- The lifecycle of the backup. Should be DELETED
.BackupLifecycle
public DeleteBackupResult withLifecycle(BackupLifecycle lifecycle)
The lifecycle of the backup. Should be DELETED
.
lifecycle
- The lifecycle of the backup. Should be DELETED
.BackupLifecycle
public String toString()
toString
in class Object
Object.toString()
public DeleteBackupResult clone()