@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 . |
Boolean |
getIsParent()
This is a boolean value indicating this is a parent (composite) recovery point.
|
String |
getParentRecoveryPointArn()
This is the Amazon Resource Name (ARN) of the parent (composite) recovery point.
|
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 |
getResourceName()
This is the non-unique name of the resource that belongs to the specified backup.
|
String |
getStatus()
A status code specifying the state of the recovery point.
|
String |
getStatusMessage()
A message explaining the reason of the recovery point deletion failure.
|
String |
getVaultType()
This is the type of vault in which the described recovery point is stored.
|
int |
hashCode() |
Boolean |
isParent()
This is a boolean value indicating this is a parent (composite) recovery point.
|
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 |
setIsParent(Boolean isParent)
This is a boolean value indicating this is a parent (composite) recovery point.
|
void |
setParentRecoveryPointArn(String parentRecoveryPointArn)
This is the Amazon Resource Name (ARN) of the parent (composite) recovery point.
|
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 |
setResourceName(String resourceName)
This is the non-unique name of the resource that belongs to the specified backup.
|
void |
setStatus(String status)
A status code specifying the state of the recovery point.
|
void |
setStatusMessage(String statusMessage)
A message explaining the reason of the recovery point deletion failure.
|
void |
setVaultType(String vaultType)
This is the type of vault in which the described recovery point is stored.
|
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 |
withIsParent(Boolean isParent)
This is a boolean value indicating this is a parent (composite) recovery point.
|
RecoveryPointByResource |
withParentRecoveryPointArn(String parentRecoveryPointArn)
This is the Amazon Resource Name (ARN) of the parent (composite) recovery point.
|
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 |
withResourceName(String resourceName)
This is the non-unique name of the resource that belongs to the specified backup.
|
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.
|
RecoveryPointByResource |
withStatusMessage(String statusMessage)
A message explaining the reason of the recovery point deletion failure.
|
RecoveryPointByResource |
withVaultType(String vaultType)
This is the type of vault in which the described recovery point is stored.
|
RecoveryPointByResource |
withVaultType(VaultType vaultType)
This is the type of vault in which the described recovery point is stored.
|
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 setStatusMessage(String statusMessage)
A message explaining the reason of the recovery point deletion failure.
statusMessage
- A message explaining the reason of the recovery point deletion failure.public String getStatusMessage()
A message explaining the reason of the recovery point deletion failure.
public RecoveryPointByResource withStatusMessage(String statusMessage)
A message explaining the reason of the recovery point deletion failure.
statusMessage
- A message explaining the reason of the recovery point deletion failure.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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services Region where they are created. They
consist of lowercase letters, numbers, and hyphens.public void setIsParent(Boolean isParent)
This is a boolean value indicating this is a parent (composite) recovery point.
isParent
- This is a boolean value indicating this is a parent (composite) recovery point.public Boolean getIsParent()
This is a boolean value indicating this is a parent (composite) recovery point.
public RecoveryPointByResource withIsParent(Boolean isParent)
This is a boolean value indicating this is a parent (composite) recovery point.
isParent
- This is a boolean value indicating this is a parent (composite) recovery point.public Boolean isParent()
This is a boolean value indicating this is a parent (composite) recovery point.
public void setParentRecoveryPointArn(String parentRecoveryPointArn)
This is the Amazon Resource Name (ARN) of the parent (composite) recovery point.
parentRecoveryPointArn
- This is the Amazon Resource Name (ARN) of the parent (composite) recovery point.public String getParentRecoveryPointArn()
This is the Amazon Resource Name (ARN) of the parent (composite) recovery point.
public RecoveryPointByResource withParentRecoveryPointArn(String parentRecoveryPointArn)
This is the Amazon Resource Name (ARN) of the parent (composite) recovery point.
parentRecoveryPointArn
- This is the Amazon Resource Name (ARN) of the parent (composite) recovery point.public void setResourceName(String resourceName)
This is the non-unique name of the resource that belongs to the specified backup.
resourceName
- This is the non-unique name of the resource that belongs to the specified backup.public String getResourceName()
This is the non-unique name of the resource that belongs to the specified backup.
public RecoveryPointByResource withResourceName(String resourceName)
This is the non-unique name of the resource that belongs to the specified backup.
resourceName
- This is the non-unique name of the resource that belongs to the specified backup.public void setVaultType(String vaultType)
This is the type of vault in which the described recovery point is stored.
vaultType
- This is the type of vault in which the described recovery point is stored.VaultType
public String getVaultType()
This is the type of vault in which the described recovery point is stored.
VaultType
public RecoveryPointByResource withVaultType(String vaultType)
This is the type of vault in which the described recovery point is stored.
vaultType
- This is the type of vault in which the described recovery point is stored.VaultType
public RecoveryPointByResource withVaultType(VaultType vaultType)
This is the type of vault in which the described recovery point is stored.
vaultType
- This is the type of vault in which the described recovery point is stored.VaultType
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.