/*
* Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.backup.model;
import java.io.Serializable;
import javax.annotation.Generated;
/**
*
* @see AWS API
* Documentation
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class DescribeRecoveryPointResult extends com.amazonaws.AmazonWebServiceResult
* An ARN that uniquely identifies a recovery point; for example,
*
* 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 Region where they are created. They consist of lowercase letters,
* numbers, and hyphens.
*
* An ARN that uniquely identifies a backup vault; for example,
*
* An Amazon Resource Name (ARN) that uniquely identifies the source vault where the resource was originally backed
* up in; for example,
* An ARN that uniquely identifies a saved resource. The format of the ARN depends on the resource type.
*
* The type of Amazon Web Services resource to save as a recovery point; for example, an Amazon Elastic Block Store
* (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
*
* Contains identifying information about the creation of a recovery point, including the
* Specifies the IAM role ARN used to create the target recovery point; for example,
*
* A status code specifying the state of the recovery point.
*
*
*
*
* To resolve
* For SAP HANA on Amazon EC2
* A status message explaining the status of the recovery point.
*
* The date and time that a recovery point is created, in Unix format and Coordinated Universal Time (UTC). The
* value of
* The date and time that a job to create a recovery point is completed, in Unix format and Coordinated Universal
* Time (UTC). The value of
* The size, in bytes, of a backup.
*
* A
* The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Backup
* transitions and expires backups automatically according to the lifecycle that you define.
*
* Backups that are transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore,
* the “retention” setting must be 90 days greater than the “transition to cold after days” setting. The “transition
* to cold after days” setting cannot be changed after a backup has been transitioned to cold.
*
* Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage"
* section of the Feature
* availability by resource table. Backup ignores this expression for other resource types.
*
* The server-side encryption key used to protect your backups; for example,
*
* A Boolean value that is returned as
* Specifies the storage class of the recovery point. Valid values are
* The date and time that a recovery point was last restored, in Unix format and Coordinated Universal Time (UTC).
* The value of
* This is an ARN that uniquely identifies a parent (composite) recovery point; for example,
*
* This is the identifier of a resource within a composite group, such as nested (child) recovery point belonging to
* a composite (parent) stack. The ID is transferred from the logical ID within a stack.
*
* This returns the boolean value that a recovery point is a parent (composite) job.
*
* This is the non-unique name of the resource that belongs to the specified backup.
*
* An ARN that uniquely identifies a recovery point; for example,
*
* An ARN that uniquely identifies a recovery point; for example,
*
* An ARN that uniquely identifies a recovery point; for example,
*
* 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 Region where they are created. They consist of lowercase letters,
* numbers, and hyphens.
*
* 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 Region where they are created. They consist of lowercase letters,
* numbers, and hyphens.
*
* 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 Region where they are created. They consist of lowercase letters,
* numbers, and hyphens.
*
* An ARN that uniquely identifies a backup vault; for example,
*
* An ARN that uniquely identifies a backup vault; for example,
*
* An ARN that uniquely identifies a backup vault; for example,
*
* An Amazon Resource Name (ARN) that uniquely identifies the source vault where the resource was originally backed
* up in; for example,
* An Amazon Resource Name (ARN) that uniquely identifies the source vault where the resource was originally backed
* up in; for example,
* An Amazon Resource Name (ARN) that uniquely identifies the source vault where the resource was originally backed
* up in; for example,
* An ARN that uniquely identifies a saved resource. The format of the ARN depends on the resource type.
*
* An ARN that uniquely identifies a saved resource. The format of the ARN depends on the resource type.
*
* An ARN that uniquely identifies a saved resource. The format of the ARN depends on the resource type.
*
* The type of Amazon Web Services resource to save as a recovery point; for example, an Amazon Elastic Block Store
* (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
*
* The type of Amazon Web Services resource to save as a recovery point; for example, an Amazon Elastic Block Store
* (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
*
* The type of Amazon Web Services resource to save as a recovery point; for example, an Amazon Elastic Block Store
* (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
*
* Contains identifying information about the creation of a recovery point, including the
* Contains identifying information about the creation of a recovery point, including the
* Contains identifying information about the creation of a recovery point, including the
* Specifies the IAM role ARN used to create the target recovery point; for example,
*
* Specifies the IAM role ARN used to create the target recovery point; for example,
*
* Specifies the IAM role ARN used to create the target recovery point; for example,
*
* A status code specifying the state of the recovery point.
*
*
*
*
* To resolve
* For SAP HANA on Amazon EC2 arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
* arn:aws:backup:us-east-1:123456789012:vault:BackupVault
. If the recovery is
* restored to the same Amazon Web Services account or Region, this value will be null
.
* BackupPlanArn
, BackupPlanId
, BackupPlanVersion
, and BackupRuleId
of the backup plan
* used to create it.
* arn:aws:iam::123456789012:role/S3Access
.
* PARTIAL
status indicates Backup could not create the recovery point before the backup window closed.
* To increase your backup plan window using the API, see UpdateBackupPlan. You
* can also increase your backup plan window using the Console by choosing and editing your backup plan.
* EXPIRED
status indicates that the recovery point has exceeded its retention period, but Backup lacks
* permission or is otherwise unable to delete it. To manually delete these recovery points, see Step 3:
* Delete the recovery points in the Clean up resources section of Getting started.
* STOPPED
status occurs on a continuous backup where a user has taken some action that causes the
* continuous backup to be disabled. This can be caused by the removal of permissions, turning off versioning,
* turning off events being sent to EventBridge, or disabling the EventBridge rules that are put in place by Backup.
* STOPPED
status, ensure that all requested permissions are in place and that versioning is
* enabled on the S3 bucket. Once these conditions are met, the next instance of a backup rule running will result
* in a new continuous recovery point being created. The recovery points with STOPPED status do not need to be
* deleted.
* STOPPED
status occurs due to user action, application misconfiguration,
* or backup failure. To ensure that future continuous backups succeed, refer to the recovery point status and check
* SAP HANA for details.
* CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.
* CompletionDate
is accurate to milliseconds. For example, the value
* 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
* CalculatedLifecycle
object containing DeleteAt
and MoveToColdStorageAt
* timestamps.
* arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
* TRUE
if the specified recovery point is encrypted, or
* FALSE
if the recovery point is not encrypted.
* WARM
or COLD
.
* LastRestoreTime
is accurate to milliseconds. For example, the value 1516925490.087
* represents Friday, January 26, 2018 12:11:30.087 AM.
* 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
.
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
*/
public void setRecoveryPointArn(String recoveryPointArn) {
this.recoveryPointArn = recoveryPointArn;
}
/**
* 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 String getRecoveryPointArn() {
return this.recoveryPointArn;
}
/**
* 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
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeRecoveryPointResult withRecoveryPointArn(String recoveryPointArn) {
setRecoveryPointArn(recoveryPointArn);
return this;
}
/**
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
*/
public void setBackupVaultArn(String backupVaultArn) {
this.backupVaultArn = backupVaultArn;
}
/**
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
*/
public String getBackupVaultArn() {
return this.backupVaultArn;
}
/**
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeRecoveryPointResult withBackupVaultArn(String backupVaultArn) {
setBackupVaultArn(backupVaultArn);
return this;
}
/**
* arn:aws:backup:us-east-1:123456789012:vault:BackupVault
. If the recovery is
* restored to the same Amazon Web Services account or Region, this value will be null
.
* arn:aws:backup:us-east-1:123456789012:vault:BackupVault
. If the
* recovery is restored to the same Amazon Web Services account or Region, this value will be
* null
.
*/
public void setSourceBackupVaultArn(String sourceBackupVaultArn) {
this.sourceBackupVaultArn = sourceBackupVaultArn;
}
/**
* arn:aws:backup:us-east-1:123456789012:vault:BackupVault
. If the recovery is
* restored to the same Amazon Web Services account or Region, this value will be null
.
* arn:aws:backup:us-east-1:123456789012:vault:BackupVault
. If the
* recovery is restored to the same Amazon Web Services account or Region, this value will be
* null
.
*/
public String getSourceBackupVaultArn() {
return this.sourceBackupVaultArn;
}
/**
* arn:aws:backup:us-east-1:123456789012:vault:BackupVault
. If the recovery is
* restored to the same Amazon Web Services account or Region, this value will be null
.
* arn:aws:backup:us-east-1:123456789012:vault:BackupVault
. If the
* recovery is restored to the same Amazon Web Services account or Region, this value will be
* null
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeRecoveryPointResult withSourceBackupVaultArn(String sourceBackupVaultArn) {
setSourceBackupVaultArn(sourceBackupVaultArn);
return this;
}
/**
* BackupPlanArn
, BackupPlanId
, BackupPlanVersion
, and BackupRuleId
of the backup plan
* used to create it.
* BackupPlanArn
, BackupPlanId
, BackupPlanVersion
, and
* BackupRuleId
of the backup plan used to create it.
*/
public void setCreatedBy(RecoveryPointCreator createdBy) {
this.createdBy = createdBy;
}
/**
* BackupPlanArn
, BackupPlanId
, BackupPlanVersion
, and BackupRuleId
of the backup plan
* used to create it.
* BackupPlanArn
, BackupPlanId
, BackupPlanVersion
, and
* BackupRuleId
of the backup plan used to create it.
*/
public RecoveryPointCreator getCreatedBy() {
return this.createdBy;
}
/**
* BackupPlanArn
, BackupPlanId
, BackupPlanVersion
, and BackupRuleId
of the backup plan
* used to create it.
* BackupPlanArn
, BackupPlanId
, BackupPlanVersion
, and
* BackupRuleId
of the backup plan used to create it.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeRecoveryPointResult withCreatedBy(RecoveryPointCreator createdBy) {
setCreatedBy(createdBy);
return this;
}
/**
* arn:aws:iam::123456789012:role/S3Access
.
* arn:aws:iam::123456789012:role/S3Access
.
*/
public void setIamRoleArn(String iamRoleArn) {
this.iamRoleArn = iamRoleArn;
}
/**
* arn:aws:iam::123456789012:role/S3Access
.
* arn:aws:iam::123456789012:role/S3Access
.
*/
public String getIamRoleArn() {
return this.iamRoleArn;
}
/**
* arn:aws:iam::123456789012:role/S3Access
.
* arn:aws:iam::123456789012:role/S3Access
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeRecoveryPointResult withIamRoleArn(String iamRoleArn) {
setIamRoleArn(iamRoleArn);
return this;
}
/**
* PARTIAL
status indicates Backup could not create the recovery point before the backup window closed.
* To increase your backup plan window using the API, see UpdateBackupPlan. You
* can also increase your backup plan window using the Console by choosing and editing your backup plan.
* EXPIRED
status indicates that the recovery point has exceeded its retention period, but Backup lacks
* permission or is otherwise unable to delete it. To manually delete these recovery points, see Step 3:
* Delete the recovery points in the Clean up resources section of Getting started.
* STOPPED
status occurs on a continuous backup where a user has taken some action that causes the
* continuous backup to be disabled. This can be caused by the removal of permissions, turning off versioning,
* turning off events being sent to EventBridge, or disabling the EventBridge rules that are put in place by Backup.
* STOPPED
status, ensure that all requested permissions are in place and that versioning is
* enabled on the S3 bucket. Once these conditions are met, the next instance of a backup rule running will result
* in a new continuous recovery point being created. The recovery points with STOPPED status do not need to be
* deleted.
* STOPPED
status occurs due to user action, application misconfiguration,
* or backup failure. To ensure that future continuous backups succeed, refer to the recovery point status and check
* SAP HANA for details.
*
* PARTIAL
status indicates Backup could not create the recovery point before the backup window
* closed. To increase your backup plan window using the API, see UpdateBackupPlan. You can also increase your backup plan window using the Console by choosing and
* editing your backup plan.
*
* EXPIRED
status indicates that the recovery point has exceeded its retention period, but
* Backup lacks permission or is otherwise unable to delete it. To manually delete these recovery points, see
*
* Step 3: Delete the recovery points in the Clean up resources section of Getting started.
*
* STOPPED
status occurs on a continuous backup where a user has taken some action that causes
* the continuous backup to be disabled. This can be caused by the removal of permissions, turning off
* versioning, turning off events being sent to EventBridge, or disabling the EventBridge rules that are put
* in place by Backup.
*
* To resolve STOPPED
status, ensure that all requested permissions are in place and that
* versioning is enabled on the S3 bucket. Once these conditions are met, the next instance of a backup rule
* running will result in a new continuous recovery point being created. The recovery points with STOPPED
* status do not need to be deleted.
*
* For SAP HANA on Amazon EC2 STOPPED
status occurs due to user action, application
* misconfiguration, or backup failure. To ensure that future continuous backups succeed, refer to the
* recovery point status and check SAP HANA for details.
* @see RecoveryPointStatus
*/
public void setStatus(String status) {
this.status = status;
}
/**
*
* A status code specifying the state of the recovery point. *
*
* PARTIAL
status indicates Backup could not create the recovery point before the backup window closed.
* To increase your backup plan window using the API, see UpdateBackupPlan. You
* can also increase your backup plan window using the Console by choosing and editing your backup plan.
*
* EXPIRED
status indicates that the recovery point has exceeded its retention period, but Backup lacks
* permission or is otherwise unable to delete it. To manually delete these recovery points, see Step 3:
* Delete the recovery points in the Clean up resources section of Getting started.
*
* STOPPED
status occurs on a continuous backup where a user has taken some action that causes the
* continuous backup to be disabled. This can be caused by the removal of permissions, turning off versioning,
* turning off events being sent to EventBridge, or disabling the EventBridge rules that are put in place by Backup.
*
* To resolve STOPPED
status, ensure that all requested permissions are in place and that versioning is
* enabled on the S3 bucket. Once these conditions are met, the next instance of a backup rule running will result
* in a new continuous recovery point being created. The recovery points with STOPPED status do not need to be
* deleted.
*
* For SAP HANA on Amazon EC2 STOPPED
status occurs due to user action, application misconfiguration,
* or backup failure. To ensure that future continuous backups succeed, refer to the recovery point status and check
* SAP HANA for details.
*
* PARTIAL
status indicates Backup could not create the recovery point before the backup window
* closed. To increase your backup plan window using the API, see UpdateBackupPlan. You can also increase your backup plan window using the Console by choosing and
* editing your backup plan.
*
* EXPIRED
status indicates that the recovery point has exceeded its retention period, but
* Backup lacks permission or is otherwise unable to delete it. To manually delete these recovery points,
* see
* Step 3: Delete the recovery points in the Clean up resources section of Getting
* started.
*
* STOPPED
status occurs on a continuous backup where a user has taken some action that causes
* the continuous backup to be disabled. This can be caused by the removal of permissions, turning off
* versioning, turning off events being sent to EventBridge, or disabling the EventBridge rules that are put
* in place by Backup.
*
* To resolve STOPPED
status, ensure that all requested permissions are in place and that
* versioning is enabled on the S3 bucket. Once these conditions are met, the next instance of a backup rule
* running will result in a new continuous recovery point being created. The recovery points with STOPPED
* status do not need to be deleted.
*
* For SAP HANA on Amazon EC2 STOPPED
status occurs due to user action, application
* misconfiguration, or backup failure. To ensure that future continuous backups succeed, refer to the
* recovery point status and check SAP HANA for details.
* @see RecoveryPointStatus
*/
public String getStatus() {
return this.status;
}
/**
*
* A status code specifying the state of the recovery point. *
*
* PARTIAL
status indicates Backup could not create the recovery point before the backup window closed.
* To increase your backup plan window using the API, see UpdateBackupPlan. You
* can also increase your backup plan window using the Console by choosing and editing your backup plan.
*
* EXPIRED
status indicates that the recovery point has exceeded its retention period, but Backup lacks
* permission or is otherwise unable to delete it. To manually delete these recovery points, see Step 3:
* Delete the recovery points in the Clean up resources section of Getting started.
*
* STOPPED
status occurs on a continuous backup where a user has taken some action that causes the
* continuous backup to be disabled. This can be caused by the removal of permissions, turning off versioning,
* turning off events being sent to EventBridge, or disabling the EventBridge rules that are put in place by Backup.
*
* To resolve STOPPED
status, ensure that all requested permissions are in place and that versioning is
* enabled on the S3 bucket. Once these conditions are met, the next instance of a backup rule running will result
* in a new continuous recovery point being created. The recovery points with STOPPED status do not need to be
* deleted.
*
* For SAP HANA on Amazon EC2 STOPPED
status occurs due to user action, application misconfiguration,
* or backup failure. To ensure that future continuous backups succeed, refer to the recovery point status and check
* SAP HANA for details.
*
* PARTIAL
status indicates Backup could not create the recovery point before the backup window
* closed. To increase your backup plan window using the API, see UpdateBackupPlan. You can also increase your backup plan window using the Console by choosing and
* editing your backup plan.
*
* EXPIRED
status indicates that the recovery point has exceeded its retention period, but
* Backup lacks permission or is otherwise unable to delete it. To manually delete these recovery points, see
*
* Step 3: Delete the recovery points in the Clean up resources section of Getting started.
*
* STOPPED
status occurs on a continuous backup where a user has taken some action that causes
* the continuous backup to be disabled. This can be caused by the removal of permissions, turning off
* versioning, turning off events being sent to EventBridge, or disabling the EventBridge rules that are put
* in place by Backup.
*
* To resolve STOPPED
status, ensure that all requested permissions are in place and that
* versioning is enabled on the S3 bucket. Once these conditions are met, the next instance of a backup rule
* running will result in a new continuous recovery point being created. The recovery points with STOPPED
* status do not need to be deleted.
*
* For SAP HANA on Amazon EC2 STOPPED
status occurs due to user action, application
* misconfiguration, or backup failure. To ensure that future continuous backups succeed, refer to the
* recovery point status and check SAP HANA for details.
* @return Returns a reference to this object so that method calls can be chained together.
* @see RecoveryPointStatus
*/
public DescribeRecoveryPointResult withStatus(String status) {
setStatus(status);
return this;
}
/**
*
* A status code specifying the state of the recovery point. *
*
* PARTIAL
status indicates Backup could not create the recovery point before the backup window closed.
* To increase your backup plan window using the API, see UpdateBackupPlan. You
* can also increase your backup plan window using the Console by choosing and editing your backup plan.
*
* EXPIRED
status indicates that the recovery point has exceeded its retention period, but Backup lacks
* permission or is otherwise unable to delete it. To manually delete these recovery points, see Step 3:
* Delete the recovery points in the Clean up resources section of Getting started.
*
* STOPPED
status occurs on a continuous backup where a user has taken some action that causes the
* continuous backup to be disabled. This can be caused by the removal of permissions, turning off versioning,
* turning off events being sent to EventBridge, or disabling the EventBridge rules that are put in place by Backup.
*
* To resolve STOPPED
status, ensure that all requested permissions are in place and that versioning is
* enabled on the S3 bucket. Once these conditions are met, the next instance of a backup rule running will result
* in a new continuous recovery point being created. The recovery points with STOPPED status do not need to be
* deleted.
*
* For SAP HANA on Amazon EC2 STOPPED
status occurs due to user action, application misconfiguration,
* or backup failure. To ensure that future continuous backups succeed, refer to the recovery point status and check
* SAP HANA for details.
*
* PARTIAL
status indicates Backup could not create the recovery point before the backup window
* closed. To increase your backup plan window using the API, see UpdateBackupPlan. You can also increase your backup plan window using the Console by choosing and
* editing your backup plan.
*
* EXPIRED
status indicates that the recovery point has exceeded its retention period, but
* Backup lacks permission or is otherwise unable to delete it. To manually delete these recovery points, see
*
* Step 3: Delete the recovery points in the Clean up resources section of Getting started.
*
* STOPPED
status occurs on a continuous backup where a user has taken some action that causes
* the continuous backup to be disabled. This can be caused by the removal of permissions, turning off
* versioning, turning off events being sent to EventBridge, or disabling the EventBridge rules that are put
* in place by Backup.
*
* To resolve STOPPED
status, ensure that all requested permissions are in place and that
* versioning is enabled on the S3 bucket. Once these conditions are met, the next instance of a backup rule
* running will result in a new continuous recovery point being created. The recovery points with STOPPED
* status do not need to be deleted.
*
* For SAP HANA on Amazon EC2 STOPPED
status occurs due to user action, application
* misconfiguration, or backup failure. To ensure that future continuous backups succeed, refer to the
* recovery point status and check SAP HANA for details.
* @return Returns a reference to this object so that method calls can be chained together.
* @see RecoveryPointStatus
*/
public DescribeRecoveryPointResult withStatus(RecoveryPointStatus status) {
this.status = status.toString();
return this;
}
/**
*
* A status message explaining the status of the recovery point. *
* * @param statusMessage * A status message explaining the status of the recovery point. */ public void setStatusMessage(String statusMessage) { this.statusMessage = statusMessage; } /** ** A status message explaining the status of the recovery point. *
* * @return A status message explaining the status of the recovery point. */ public String getStatusMessage() { return this.statusMessage; } /** ** A status message explaining the status of the recovery point. *
* * @param statusMessage * A status message explaining the status of the recovery point. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeRecoveryPointResult withStatusMessage(String statusMessage) { setStatusMessage(statusMessage); return this; } /** *
* The date and time that 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 void setCreationDate(java.util.Date creationDate) {
this.creationDate = creationDate;
}
/**
*
* The date and time that 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 java.util.Date getCreationDate() {
return this.creationDate;
}
/**
*
* The date and time that 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeRecoveryPointResult withCreationDate(java.util.Date creationDate) {
setCreationDate(creationDate);
return this;
}
/**
*
* The date and time that a job to create a recovery point is completed, in Unix format and Coordinated Universal
* Time (UTC). The value of CompletionDate
is accurate to milliseconds. For example, the value
* 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
*
CompletionDate
is accurate to milliseconds. For example,
* the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
*/
public void setCompletionDate(java.util.Date completionDate) {
this.completionDate = completionDate;
}
/**
*
* The date and time that a job to create a recovery point is completed, in Unix format and Coordinated Universal
* Time (UTC). The value of CompletionDate
is accurate to milliseconds. For example, the value
* 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
*
CompletionDate
is accurate to milliseconds. For example,
* the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
*/
public java.util.Date getCompletionDate() {
return this.completionDate;
}
/**
*
* The date and time that a job to create a recovery point is completed, in Unix format and Coordinated Universal
* Time (UTC). The value of CompletionDate
is accurate to milliseconds. For example, the value
* 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
*
CompletionDate
is accurate to milliseconds. For example,
* the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeRecoveryPointResult withCompletionDate(java.util.Date completionDate) {
setCompletionDate(completionDate);
return this;
}
/**
* * The size, in bytes, of a backup. *
* * @param backupSizeInBytes * The size, in bytes, of a backup. */ public void setBackupSizeInBytes(Long backupSizeInBytes) { this.backupSizeInBytes = backupSizeInBytes; } /** ** The size, in bytes, of a backup. *
* * @return The size, in bytes, of a backup. */ public Long getBackupSizeInBytes() { return this.backupSizeInBytes; } /** ** The size, in bytes, of a backup. *
* * @param backupSizeInBytes * The size, in bytes, of a backup. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeRecoveryPointResult withBackupSizeInBytes(Long backupSizeInBytes) { setBackupSizeInBytes(backupSizeInBytes); return this; } /** *
* A CalculatedLifecycle
object containing DeleteAt
and MoveToColdStorageAt
* timestamps.
*
CalculatedLifecycle
object containing DeleteAt
and
* MoveToColdStorageAt
timestamps.
*/
public void setCalculatedLifecycle(CalculatedLifecycle calculatedLifecycle) {
this.calculatedLifecycle = calculatedLifecycle;
}
/**
*
* A CalculatedLifecycle
object containing DeleteAt
and MoveToColdStorageAt
* timestamps.
*
CalculatedLifecycle
object containing DeleteAt
and
* MoveToColdStorageAt
timestamps.
*/
public CalculatedLifecycle getCalculatedLifecycle() {
return this.calculatedLifecycle;
}
/**
*
* A CalculatedLifecycle
object containing DeleteAt
and MoveToColdStorageAt
* timestamps.
*
CalculatedLifecycle
object containing DeleteAt
and
* MoveToColdStorageAt
timestamps.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeRecoveryPointResult withCalculatedLifecycle(CalculatedLifecycle calculatedLifecycle) {
setCalculatedLifecycle(calculatedLifecycle);
return this;
}
/**
* * The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Backup * transitions and expires backups automatically according to the lifecycle that you define. *
** Backups that are transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, * the “retention” setting must be 90 days greater than the “transition to cold after days” setting. The “transition * to cold after days” setting cannot be changed after a backup has been transitioned to cold. *
** Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage" * section of the Feature * availability by resource table. Backup ignores this expression for other resource types. *
* * @param lifecycle * The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. * Backup transitions and expires backups automatically according to the lifecycle that you define. ** Backups that are transitioned to cold storage must be stored in cold storage for a minimum of 90 days. * Therefore, the “retention” setting must be 90 days greater than the “transition to cold after days” * setting. The “transition to cold after days” setting cannot be changed after a backup has been * transitioned to cold. *
** Resource types that are able to be transitioned to cold storage are listed in the * "Lifecycle to cold storage" section of the * Feature availability by resource table. Backup ignores this expression for other resource types. */ public void setLifecycle(Lifecycle lifecycle) { this.lifecycle = lifecycle; } /** *
* The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Backup * transitions and expires backups automatically according to the lifecycle that you define. *
** Backups that are transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, * the “retention” setting must be 90 days greater than the “transition to cold after days” setting. The “transition * to cold after days” setting cannot be changed after a backup has been transitioned to cold. *
** Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage" * section of the Feature * availability by resource table. Backup ignores this expression for other resource types. *
* * @return The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. * Backup transitions and expires backups automatically according to the lifecycle that you define. ** Backups that are transitioned to cold storage must be stored in cold storage for a minimum of 90 days. * Therefore, the “retention” setting must be 90 days greater than the “transition to cold after days” * setting. The “transition to cold after days” setting cannot be changed after a backup has been * transitioned to cold. *
** Resource types that are able to be transitioned to cold storage are listed in the * "Lifecycle to cold storage" section of the * Feature availability by resource table. Backup ignores this expression for other resource types. */ public Lifecycle getLifecycle() { return this.lifecycle; } /** *
* The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Backup * transitions and expires backups automatically according to the lifecycle that you define. *
** Backups that are transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, * the “retention” setting must be 90 days greater than the “transition to cold after days” setting. The “transition * to cold after days” setting cannot be changed after a backup has been transitioned to cold. *
** Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage" * section of the Feature * availability by resource table. Backup ignores this expression for other resource types. *
* * @param lifecycle * The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. * Backup transitions and expires backups automatically according to the lifecycle that you define. ** Backups that are transitioned to cold storage must be stored in cold storage for a minimum of 90 days. * Therefore, the “retention” setting must be 90 days greater than the “transition to cold after days” * setting. The “transition to cold after days” setting cannot be changed after a backup has been * transitioned to cold. *
** Resource types that are able to be transitioned to cold storage are listed in the * "Lifecycle to cold storage" section of the * Feature availability by resource table. Backup ignores this expression for other resource types. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeRecoveryPointResult withLifecycle(Lifecycle lifecycle) { setLifecycle(lifecycle); return this; } /** *
* The server-side encryption key 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 void setEncryptionKeyArn(String encryptionKeyArn) {
this.encryptionKeyArn = encryptionKeyArn;
}
/**
*
* The server-side encryption key 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 String getEncryptionKeyArn() {
return this.encryptionKeyArn;
}
/**
*
* The server-side encryption key 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
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeRecoveryPointResult withEncryptionKeyArn(String encryptionKeyArn) {
setEncryptionKeyArn(encryptionKeyArn);
return this;
}
/**
*
* A Boolean value that is returned as TRUE
if the specified recovery point is encrypted, or
* FALSE
if the recovery point is not encrypted.
*
TRUE
if the specified recovery point is encrypted, or
* FALSE
if the recovery point is not encrypted.
*/
public void setIsEncrypted(Boolean isEncrypted) {
this.isEncrypted = isEncrypted;
}
/**
*
* A Boolean value that is returned as TRUE
if the specified recovery point is encrypted, or
* FALSE
if the recovery point is not encrypted.
*
TRUE
if the specified recovery point is encrypted, or
* FALSE
if the recovery point is not encrypted.
*/
public Boolean getIsEncrypted() {
return this.isEncrypted;
}
/**
*
* A Boolean value that is returned as TRUE
if the specified recovery point is encrypted, or
* FALSE
if the recovery point is not encrypted.
*
TRUE
if the specified recovery point is encrypted, or
* FALSE
if the recovery point is not encrypted.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeRecoveryPointResult withIsEncrypted(Boolean isEncrypted) {
setIsEncrypted(isEncrypted);
return this;
}
/**
*
* A Boolean value that is returned as TRUE
if the specified recovery point is encrypted, or
* FALSE
if the recovery point is not encrypted.
*
TRUE
if the specified recovery point is encrypted, or
* FALSE
if the recovery point is not encrypted.
*/
public Boolean isEncrypted() {
return this.isEncrypted;
}
/**
*
* Specifies the storage class of the recovery point. Valid values are WARM
or COLD
.
*
WARM
or COLD
* .
* @see StorageClass
*/
public void setStorageClass(String storageClass) {
this.storageClass = storageClass;
}
/**
*
* Specifies the storage class of the recovery point. Valid values are WARM
or COLD
.
*
WARM
or
* COLD
.
* @see StorageClass
*/
public String getStorageClass() {
return this.storageClass;
}
/**
*
* Specifies the storage class of the recovery point. Valid values are WARM
or COLD
.
*
WARM
or COLD
* .
* @return Returns a reference to this object so that method calls can be chained together.
* @see StorageClass
*/
public DescribeRecoveryPointResult withStorageClass(String storageClass) {
setStorageClass(storageClass);
return this;
}
/**
*
* Specifies the storage class of the recovery point. Valid values are WARM
or COLD
.
*
WARM
or COLD
* .
* @return Returns a reference to this object so that method calls can be chained together.
* @see StorageClass
*/
public DescribeRecoveryPointResult withStorageClass(StorageClass storageClass) {
this.storageClass = storageClass.toString();
return this;
}
/**
*
* The date and time that a recovery point was last restored, in Unix format and Coordinated Universal Time (UTC).
* The value of LastRestoreTime
is accurate to milliseconds. For example, the value 1516925490.087
* represents Friday, January 26, 2018 12:11:30.087 AM.
*
LastRestoreTime
is accurate to milliseconds. For example, the value
* 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
*/
public void setLastRestoreTime(java.util.Date lastRestoreTime) {
this.lastRestoreTime = lastRestoreTime;
}
/**
*
* The date and time that a recovery point was last restored, in Unix format and Coordinated Universal Time (UTC).
* The value of LastRestoreTime
is accurate to milliseconds. For example, the value 1516925490.087
* represents Friday, January 26, 2018 12:11:30.087 AM.
*
LastRestoreTime
is accurate to milliseconds. For example, the value
* 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
*/
public java.util.Date getLastRestoreTime() {
return this.lastRestoreTime;
}
/**
*
* The date and time that a recovery point was last restored, in Unix format and Coordinated Universal Time (UTC).
* The value of LastRestoreTime
is accurate to milliseconds. For example, the value 1516925490.087
* represents Friday, January 26, 2018 12:11:30.087 AM.
*
LastRestoreTime
is accurate to milliseconds. For example, the value
* 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeRecoveryPointResult withLastRestoreTime(java.util.Date lastRestoreTime) {
setLastRestoreTime(lastRestoreTime);
return this;
}
/**
*
* This is an ARN that uniquely identifies a parent (composite) 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 void setParentRecoveryPointArn(String parentRecoveryPointArn) {
this.parentRecoveryPointArn = parentRecoveryPointArn;
}
/**
*
* This is an ARN that uniquely identifies a parent (composite) 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 String getParentRecoveryPointArn() {
return this.parentRecoveryPointArn;
}
/**
*
* This is an ARN that uniquely identifies a parent (composite) 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
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeRecoveryPointResult withParentRecoveryPointArn(String parentRecoveryPointArn) {
setParentRecoveryPointArn(parentRecoveryPointArn);
return this;
}
/**
* * This is the identifier of a resource within a composite group, such as nested (child) recovery point belonging to * a composite (parent) stack. The ID is transferred from the logical ID within a stack. *
* * @param compositeMemberIdentifier * This is the identifier of a resource within a composite group, such as nested (child) recovery point * belonging to a composite (parent) stack. The ID is transferred from the logical ID within a stack. */ public void setCompositeMemberIdentifier(String compositeMemberIdentifier) { this.compositeMemberIdentifier = compositeMemberIdentifier; } /** ** This is the identifier of a resource within a composite group, such as nested (child) recovery point belonging to * a composite (parent) stack. The ID is transferred from the logical ID within a stack. *
* * @return This is the identifier of a resource within a composite group, such as nested (child) recovery point * belonging to a composite (parent) stack. The ID is transferred from the logical ID within a stack. */ public String getCompositeMemberIdentifier() { return this.compositeMemberIdentifier; } /** ** This is the identifier of a resource within a composite group, such as nested (child) recovery point belonging to * a composite (parent) stack. The ID is transferred from the logical ID within a stack. *
* * @param compositeMemberIdentifier * This is the identifier of a resource within a composite group, such as nested (child) recovery point * belonging to a composite (parent) stack. The ID is transferred from the logical ID within a stack. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeRecoveryPointResult withCompositeMemberIdentifier(String compositeMemberIdentifier) { setCompositeMemberIdentifier(compositeMemberIdentifier); return this; } /** ** This returns the boolean value that a recovery point is a parent (composite) job. *
* * @param isParent * This returns the boolean value that a recovery point is a parent (composite) job. */ public void setIsParent(Boolean isParent) { this.isParent = isParent; } /** ** This returns the boolean value that a recovery point is a parent (composite) job. *
* * @return This returns the boolean value that a recovery point is a parent (composite) job. */ public Boolean getIsParent() { return this.isParent; } /** ** This returns the boolean value that a recovery point is a parent (composite) job. *
* * @param isParent * This returns the boolean value that a recovery point is a parent (composite) job. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeRecoveryPointResult withIsParent(Boolean isParent) { setIsParent(isParent); return this; } /** ** This returns the boolean value that a recovery point is a parent (composite) job. *
* * @return This returns the boolean value that a recovery point is a parent (composite) job. */ public Boolean isParent() { return this.isParent; } /** ** This is the non-unique name of the resource that belongs to the specified backup. *
* * @param resourceName * This is the non-unique name of the resource that belongs to the specified backup. */ public void setResourceName(String resourceName) { this.resourceName = resourceName; } /** ** This is the non-unique name of the resource that belongs to the specified backup. *
* * @return This is the non-unique name of the resource that belongs to the specified backup. */ public String getResourceName() { return this.resourceName; } /** ** This is the non-unique name of the resource that belongs to the specified backup. *
* * @param resourceName * This is the non-unique name of the resource that belongs to the specified backup. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeRecoveryPointResult withResourceName(String resourceName) { setResourceName(resourceName); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getRecoveryPointArn() != null) sb.append("RecoveryPointArn: ").append(getRecoveryPointArn()).append(","); if (getBackupVaultName() != null) sb.append("BackupVaultName: ").append(getBackupVaultName()).append(","); if (getBackupVaultArn() != null) sb.append("BackupVaultArn: ").append(getBackupVaultArn()).append(","); if (getSourceBackupVaultArn() != null) sb.append("SourceBackupVaultArn: ").append(getSourceBackupVaultArn()).append(","); if (getResourceArn() != null) sb.append("ResourceArn: ").append(getResourceArn()).append(","); if (getResourceType() != null) sb.append("ResourceType: ").append(getResourceType()).append(","); if (getCreatedBy() != null) sb.append("CreatedBy: ").append(getCreatedBy()).append(","); if (getIamRoleArn() != null) sb.append("IamRoleArn: ").append(getIamRoleArn()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getStatusMessage() != null) sb.append("StatusMessage: ").append(getStatusMessage()).append(","); if (getCreationDate() != null) sb.append("CreationDate: ").append(getCreationDate()).append(","); if (getCompletionDate() != null) sb.append("CompletionDate: ").append(getCompletionDate()).append(","); if (getBackupSizeInBytes() != null) sb.append("BackupSizeInBytes: ").append(getBackupSizeInBytes()).append(","); if (getCalculatedLifecycle() != null) sb.append("CalculatedLifecycle: ").append(getCalculatedLifecycle()).append(","); if (getLifecycle() != null) sb.append("Lifecycle: ").append(getLifecycle()).append(","); if (getEncryptionKeyArn() != null) sb.append("EncryptionKeyArn: ").append(getEncryptionKeyArn()).append(","); if (getIsEncrypted() != null) sb.append("IsEncrypted: ").append(getIsEncrypted()).append(","); if (getStorageClass() != null) sb.append("StorageClass: ").append(getStorageClass()).append(","); if (getLastRestoreTime() != null) sb.append("LastRestoreTime: ").append(getLastRestoreTime()).append(","); if (getParentRecoveryPointArn() != null) sb.append("ParentRecoveryPointArn: ").append(getParentRecoveryPointArn()).append(","); if (getCompositeMemberIdentifier() != null) sb.append("CompositeMemberIdentifier: ").append(getCompositeMemberIdentifier()).append(","); if (getIsParent() != null) sb.append("IsParent: ").append(getIsParent()).append(","); if (getResourceName() != null) sb.append("ResourceName: ").append(getResourceName()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeRecoveryPointResult == false) return false; DescribeRecoveryPointResult other = (DescribeRecoveryPointResult) obj; if (other.getRecoveryPointArn() == null ^ this.getRecoveryPointArn() == null) return false; if (other.getRecoveryPointArn() != null && other.getRecoveryPointArn().equals(this.getRecoveryPointArn()) == false) return false; if (other.getBackupVaultName() == null ^ this.getBackupVaultName() == null) return false; if (other.getBackupVaultName() != null && other.getBackupVaultName().equals(this.getBackupVaultName()) == false) return false; if (other.getBackupVaultArn() == null ^ this.getBackupVaultArn() == null) return false; if (other.getBackupVaultArn() != null && other.getBackupVaultArn().equals(this.getBackupVaultArn()) == false) return false; if (other.getSourceBackupVaultArn() == null ^ this.getSourceBackupVaultArn() == null) return false; if (other.getSourceBackupVaultArn() != null && other.getSourceBackupVaultArn().equals(this.getSourceBackupVaultArn()) == false) return false; if (other.getResourceArn() == null ^ this.getResourceArn() == null) return false; if (other.getResourceArn() != null && other.getResourceArn().equals(this.getResourceArn()) == false) return false; if (other.getResourceType() == null ^ this.getResourceType() == null) return false; if (other.getResourceType() != null && other.getResourceType().equals(this.getResourceType()) == false) return false; if (other.getCreatedBy() == null ^ this.getCreatedBy() == null) return false; if (other.getCreatedBy() != null && other.getCreatedBy().equals(this.getCreatedBy()) == false) return false; if (other.getIamRoleArn() == null ^ this.getIamRoleArn() == null) return false; if (other.getIamRoleArn() != null && other.getIamRoleArn().equals(this.getIamRoleArn()) == false) return false; if (other.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) return false; if (other.getStatusMessage() == null ^ this.getStatusMessage() == null) return false; if (other.getStatusMessage() != null && other.getStatusMessage().equals(this.getStatusMessage()) == false) return false; if (other.getCreationDate() == null ^ this.getCreationDate() == null) return false; if (other.getCreationDate() != null && other.getCreationDate().equals(this.getCreationDate()) == false) return false; if (other.getCompletionDate() == null ^ this.getCompletionDate() == null) return false; if (other.getCompletionDate() != null && other.getCompletionDate().equals(this.getCompletionDate()) == false) return false; if (other.getBackupSizeInBytes() == null ^ this.getBackupSizeInBytes() == null) return false; if (other.getBackupSizeInBytes() != null && other.getBackupSizeInBytes().equals(this.getBackupSizeInBytes()) == false) return false; if (other.getCalculatedLifecycle() == null ^ this.getCalculatedLifecycle() == null) return false; if (other.getCalculatedLifecycle() != null && other.getCalculatedLifecycle().equals(this.getCalculatedLifecycle()) == false) return false; if (other.getLifecycle() == null ^ this.getLifecycle() == null) return false; if (other.getLifecycle() != null && other.getLifecycle().equals(this.getLifecycle()) == false) return false; if (other.getEncryptionKeyArn() == null ^ this.getEncryptionKeyArn() == null) return false; if (other.getEncryptionKeyArn() != null && other.getEncryptionKeyArn().equals(this.getEncryptionKeyArn()) == false) return false; if (other.getIsEncrypted() == null ^ this.getIsEncrypted() == null) return false; if (other.getIsEncrypted() != null && other.getIsEncrypted().equals(this.getIsEncrypted()) == false) return false; if (other.getStorageClass() == null ^ this.getStorageClass() == null) return false; if (other.getStorageClass() != null && other.getStorageClass().equals(this.getStorageClass()) == false) return false; if (other.getLastRestoreTime() == null ^ this.getLastRestoreTime() == null) return false; if (other.getLastRestoreTime() != null && other.getLastRestoreTime().equals(this.getLastRestoreTime()) == false) return false; if (other.getParentRecoveryPointArn() == null ^ this.getParentRecoveryPointArn() == null) return false; if (other.getParentRecoveryPointArn() != null && other.getParentRecoveryPointArn().equals(this.getParentRecoveryPointArn()) == false) return false; if (other.getCompositeMemberIdentifier() == null ^ this.getCompositeMemberIdentifier() == null) return false; if (other.getCompositeMemberIdentifier() != null && other.getCompositeMemberIdentifier().equals(this.getCompositeMemberIdentifier()) == false) return false; if (other.getIsParent() == null ^ this.getIsParent() == null) return false; if (other.getIsParent() != null && other.getIsParent().equals(this.getIsParent()) == false) return false; if (other.getResourceName() == null ^ this.getResourceName() == null) return false; if (other.getResourceName() != null && other.getResourceName().equals(this.getResourceName()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getRecoveryPointArn() == null) ? 0 : getRecoveryPointArn().hashCode()); hashCode = prime * hashCode + ((getBackupVaultName() == null) ? 0 : getBackupVaultName().hashCode()); hashCode = prime * hashCode + ((getBackupVaultArn() == null) ? 0 : getBackupVaultArn().hashCode()); hashCode = prime * hashCode + ((getSourceBackupVaultArn() == null) ? 0 : getSourceBackupVaultArn().hashCode()); hashCode = prime * hashCode + ((getResourceArn() == null) ? 0 : getResourceArn().hashCode()); hashCode = prime * hashCode + ((getResourceType() == null) ? 0 : getResourceType().hashCode()); hashCode = prime * hashCode + ((getCreatedBy() == null) ? 0 : getCreatedBy().hashCode()); hashCode = prime * hashCode + ((getIamRoleArn() == null) ? 0 : getIamRoleArn().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getStatusMessage() == null) ? 0 : getStatusMessage().hashCode()); hashCode = prime * hashCode + ((getCreationDate() == null) ? 0 : getCreationDate().hashCode()); hashCode = prime * hashCode + ((getCompletionDate() == null) ? 0 : getCompletionDate().hashCode()); hashCode = prime * hashCode + ((getBackupSizeInBytes() == null) ? 0 : getBackupSizeInBytes().hashCode()); hashCode = prime * hashCode + ((getCalculatedLifecycle() == null) ? 0 : getCalculatedLifecycle().hashCode()); hashCode = prime * hashCode + ((getLifecycle() == null) ? 0 : getLifecycle().hashCode()); hashCode = prime * hashCode + ((getEncryptionKeyArn() == null) ? 0 : getEncryptionKeyArn().hashCode()); hashCode = prime * hashCode + ((getIsEncrypted() == null) ? 0 : getIsEncrypted().hashCode()); hashCode = prime * hashCode + ((getStorageClass() == null) ? 0 : getStorageClass().hashCode()); hashCode = prime * hashCode + ((getLastRestoreTime() == null) ? 0 : getLastRestoreTime().hashCode()); hashCode = prime * hashCode + ((getParentRecoveryPointArn() == null) ? 0 : getParentRecoveryPointArn().hashCode()); hashCode = prime * hashCode + ((getCompositeMemberIdentifier() == null) ? 0 : getCompositeMemberIdentifier().hashCode()); hashCode = prime * hashCode + ((getIsParent() == null) ? 0 : getIsParent().hashCode()); hashCode = prime * hashCode + ((getResourceName() == null) ? 0 : getResourceName().hashCode()); return hashCode; } @Override public DescribeRecoveryPointResult clone() { try { return (DescribeRecoveryPointResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }