@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Backup extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a backup of an AWS CloudHSM cluster.
Constructor and Description |
---|
Backup() |
Modifier and Type | Method and Description |
---|---|
Backup |
clone() |
boolean |
equals(Object obj) |
String |
getBackupId()
The identifier (ID) of the backup.
|
String |
getBackupState()
The state of the backup.
|
String |
getClusterId()
The identifier (ID) of the cluster that was backed up.
|
Date |
getCopyTimestamp() |
Date |
getCreateTimestamp()
The date and time when the backup was created.
|
Date |
getDeleteTimestamp()
The date and time when the backup will be permanently deleted.
|
String |
getSourceBackup() |
String |
getSourceCluster() |
String |
getSourceRegion() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBackupId(String backupId)
The identifier (ID) of the backup.
|
void |
setBackupState(String backupState)
The state of the backup.
|
void |
setClusterId(String clusterId)
The identifier (ID) of the cluster that was backed up.
|
void |
setCopyTimestamp(Date copyTimestamp) |
void |
setCreateTimestamp(Date createTimestamp)
The date and time when the backup was created.
|
void |
setDeleteTimestamp(Date deleteTimestamp)
The date and time when the backup will be permanently deleted.
|
void |
setSourceBackup(String sourceBackup) |
void |
setSourceCluster(String sourceCluster) |
void |
setSourceRegion(String sourceRegion) |
String |
toString()
Returns a string representation of this object.
|
Backup |
withBackupId(String backupId)
The identifier (ID) of the backup.
|
Backup |
withBackupState(BackupState backupState)
The state of the backup.
|
Backup |
withBackupState(String backupState)
The state of the backup.
|
Backup |
withClusterId(String clusterId)
The identifier (ID) of the cluster that was backed up.
|
Backup |
withCopyTimestamp(Date copyTimestamp) |
Backup |
withCreateTimestamp(Date createTimestamp)
The date and time when the backup was created.
|
Backup |
withDeleteTimestamp(Date deleteTimestamp)
The date and time when the backup will be permanently deleted.
|
Backup |
withSourceBackup(String sourceBackup) |
Backup |
withSourceCluster(String sourceCluster) |
Backup |
withSourceRegion(String sourceRegion) |
public void setBackupId(String backupId)
The identifier (ID) of the backup.
backupId
- The identifier (ID) of the backup.public String getBackupId()
The identifier (ID) of the backup.
public Backup withBackupId(String backupId)
The identifier (ID) of the backup.
backupId
- The identifier (ID) of the backup.public void setBackupState(String backupState)
The state of the backup.
backupState
- The state of the backup.BackupState
public String getBackupState()
The state of the backup.
BackupState
public Backup withBackupState(String backupState)
The state of the backup.
backupState
- The state of the backup.BackupState
public Backup withBackupState(BackupState backupState)
The state of the backup.
backupState
- The state of the backup.BackupState
public void setClusterId(String clusterId)
The identifier (ID) of the cluster that was backed up.
clusterId
- The identifier (ID) of the cluster that was backed up.public String getClusterId()
The identifier (ID) of the cluster that was backed up.
public Backup withClusterId(String clusterId)
The identifier (ID) of the cluster that was backed up.
clusterId
- The identifier (ID) of the cluster that was backed up.public void setCreateTimestamp(Date createTimestamp)
The date and time when the backup was created.
createTimestamp
- The date and time when the backup was created.public Date getCreateTimestamp()
The date and time when the backup was created.
public Backup withCreateTimestamp(Date createTimestamp)
The date and time when the backup was created.
createTimestamp
- The date and time when the backup was created.public void setCopyTimestamp(Date copyTimestamp)
copyTimestamp
- public Date getCopyTimestamp()
public Backup withCopyTimestamp(Date copyTimestamp)
copyTimestamp
- public void setSourceRegion(String sourceRegion)
sourceRegion
- public String getSourceRegion()
public Backup withSourceRegion(String sourceRegion)
sourceRegion
- public void setSourceBackup(String sourceBackup)
sourceBackup
- public String getSourceBackup()
public Backup withSourceBackup(String sourceBackup)
sourceBackup
- public void setSourceCluster(String sourceCluster)
sourceCluster
- public String getSourceCluster()
public Backup withSourceCluster(String sourceCluster)
sourceCluster
- public void setDeleteTimestamp(Date deleteTimestamp)
The date and time when the backup will be permanently deleted.
deleteTimestamp
- The date and time when the backup will be permanently deleted.public Date getDeleteTimestamp()
The date and time when the backup will be permanently deleted.
public Backup withDeleteTimestamp(Date deleteTimestamp)
The date and time when the backup will be permanently deleted.
deleteTimestamp
- The date and time when the backup will be permanently deleted.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.