@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 |
getCreateTimestamp()
The date and time when the backup was created.
|
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 |
setCreateTimestamp(Date createTimestamp)
The date and time when the backup was created.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 |
withCreateTimestamp(Date createTimestamp)
The date and time when the backup was created.
|
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 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.