@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecoveryPointByResource extends Object implements Serializable, Cloneable, StructuredPojo
Contains detailed information about a saved recovery point.
Constructor and Description |
---|
RecoveryPointByResource() |
Modifier and Type | Method and Description |
---|---|
RecoveryPointByResource |
clone() |
boolean |
equals(Object obj) |
Long |
getBackupSizeBytes()
The size, in bytes, of a backup.
|
String |
getBackupVaultName()
The name of a logical container where backups are stored.
|
Date |
getCreationDate()
The date and time a recovery point is created, in Unix format and Coordinated Universal Time (UTC).
|
String |
getEncryptionKeyArn()
The server-side encryption key that is used to protect your backups; for example,
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab . |
String |
getRecoveryPointArn()
An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45 . |
String |
getStatus()
A status code specifying the state of the recovery point.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBackupSizeBytes(Long backupSizeBytes)
The size, in bytes, of a backup.
|
void |
setBackupVaultName(String backupVaultName)
The name of a logical container where backups are stored.
|
void |
setCreationDate(Date creationDate)
The date and time a recovery point is created, in Unix format and Coordinated Universal Time (UTC).
|
void |
setEncryptionKeyArn(String encryptionKeyArn)
The server-side encryption key that is used to protect your backups; for example,
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab . |
void |
setRecoveryPointArn(String recoveryPointArn)
An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45 . |
void |
setStatus(String status)
A status code specifying the state of the recovery point.
|
String |
toString()
Returns a string representation of this object.
|
RecoveryPointByResource |
withBackupSizeBytes(Long backupSizeBytes)
The size, in bytes, of a backup.
|
RecoveryPointByResource |
withBackupVaultName(String backupVaultName)
The name of a logical container where backups are stored.
|
RecoveryPointByResource |
withCreationDate(Date creationDate)
The date and time a recovery point is created, in Unix format and Coordinated Universal Time (UTC).
|
RecoveryPointByResource |
withEncryptionKeyArn(String encryptionKeyArn)
The server-side encryption key that is used to protect your backups; for example,
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab . |
RecoveryPointByResource |
withRecoveryPointArn(String recoveryPointArn)
An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45 . |
RecoveryPointByResource |
withStatus(RecoveryPointStatus status)
A status code specifying the state of the recovery point.
|
RecoveryPointByResource |
withStatus(String status)
A status code specifying the state of the recovery point.
|
public void setRecoveryPointArn(String recoveryPointArn)
An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
recoveryPointArn
- An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.public String getRecoveryPointArn()
An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.public RecoveryPointByResource withRecoveryPointArn(String recoveryPointArn)
An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
recoveryPointArn
- An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.public void setCreationDate(Date creationDate)
The date and time a recovery point is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday,
January 26, 2018 12:11:30.087 AM.
creationDate
- The date and time a recovery point is created, in Unix format and Coordinated Universal Time (UTC). The
value of CreationDate
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.public Date getCreationDate()
The date and time a recovery point is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday,
January 26, 2018 12:11:30.087 AM.
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.public RecoveryPointByResource withCreationDate(Date creationDate)
The date and time a recovery point is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday,
January 26, 2018 12:11:30.087 AM.
creationDate
- The date and time a recovery point is created, in Unix format and Coordinated Universal Time (UTC). The
value of CreationDate
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.public void setStatus(String status)
A status code specifying the state of the recovery point.
status
- A status code specifying the state of the recovery point.RecoveryPointStatus
public String getStatus()
A status code specifying the state of the recovery point.
RecoveryPointStatus
public RecoveryPointByResource withStatus(String status)
A status code specifying the state of the recovery point.
status
- A status code specifying the state of the recovery point.RecoveryPointStatus
public RecoveryPointByResource withStatus(RecoveryPointStatus status)
A status code specifying the state of the recovery point.
status
- A status code specifying the state of the recovery point.RecoveryPointStatus
public void setEncryptionKeyArn(String encryptionKeyArn)
The server-side encryption key that is used to protect your backups; for example,
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
encryptionKeyArn
- The server-side encryption key that is used to protect your backups; for example,
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
.public String getEncryptionKeyArn()
The server-side encryption key that is used to protect your backups; for example,
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
.public RecoveryPointByResource withEncryptionKeyArn(String encryptionKeyArn)
The server-side encryption key that is used to protect your backups; for example,
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
encryptionKeyArn
- The server-side encryption key that is used to protect your backups; for example,
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
.public void setBackupSizeBytes(Long backupSizeBytes)
The size, in bytes, of a backup.
backupSizeBytes
- The size, in bytes, of a backup.public Long getBackupSizeBytes()
The size, in bytes, of a backup.
public RecoveryPointByResource withBackupSizeBytes(Long backupSizeBytes)
The size, in bytes, of a backup.
backupSizeBytes
- The size, in bytes, of a backup.public void setBackupVaultName(String backupVaultName)
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
backupVaultName
- The name of a logical container where backups are stored. Backup vaults are identified by names that are
unique to the account used to create them and the AWS Region where they are created. They consist of
lowercase letters, numbers, and hyphens.public String getBackupVaultName()
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
public RecoveryPointByResource withBackupVaultName(String backupVaultName)
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
backupVaultName
- The name of a logical container where backups are stored. Backup vaults are identified by names that are
unique to the account used to create them and the AWS Region where they are created. They consist of
lowercase letters, numbers, and hyphens.public String toString()
toString
in class Object
Object.toString()
public RecoveryPointByResource clone()
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.