All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.backup.model.GetRestoreTestingInferredMetadataRequest Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Backup module holds the client classes that are used for communicating with AWS Backup Service

There is a newer version: 1.12.780
Show newest version
/*
 * Copyright 2019-2024 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;

import com.amazonaws.AmazonWebServiceRequest;

/**
 * 
 * @see AWS API Documentation
 */
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class GetRestoreTestingInferredMetadataRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {

    /**
     * 

* This is the account ID of the specified backup vault. *

*/ private String backupVaultAccountId; /** *

* 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 ServicesRegion where they are created. They consist of * letters, numbers, and hyphens. *

*/ private String backupVaultName; /** *

* 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. *

*/ private String recoveryPointArn; /** *

* This is the account ID of the specified backup vault. *

* * @param backupVaultAccountId * This is the account ID of the specified backup vault. */ public void setBackupVaultAccountId(String backupVaultAccountId) { this.backupVaultAccountId = backupVaultAccountId; } /** *

* This is the account ID of the specified backup vault. *

* * @return This is the account ID of the specified backup vault. */ public String getBackupVaultAccountId() { return this.backupVaultAccountId; } /** *

* This is the account ID of the specified backup vault. *

* * @param backupVaultAccountId * This is the account ID of the specified backup vault. * @return Returns a reference to this object so that method calls can be chained together. */ public GetRestoreTestingInferredMetadataRequest withBackupVaultAccountId(String backupVaultAccountId) { setBackupVaultAccountId(backupVaultAccountId); return this; } /** *

* 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 ServicesRegion where they are created. They consist of * letters, numbers, and hyphens. *

* * @param 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 ServicesRegion where they are created. They * consist of letters, numbers, and hyphens. */ public void setBackupVaultName(String backupVaultName) { this.backupVaultName = 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 ServicesRegion where they are created. They consist of * letters, numbers, and hyphens. *

* * @return 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 ServicesRegion where they are created. They * consist of letters, numbers, and hyphens. */ public String getBackupVaultName() { return this.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 ServicesRegion where they are created. They consist of * letters, numbers, and hyphens. *

* * @param 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 ServicesRegion where they are created. They * consist of letters, numbers, and hyphens. * @return Returns a reference to this object so that method calls can be chained together. */ public GetRestoreTestingInferredMetadataRequest withBackupVaultName(String backupVaultName) { setBackupVaultName(backupVaultName); return this; } /** *

* 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. *

* * @param 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 setRecoveryPointArn(String recoveryPointArn) { this.recoveryPointArn = 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. *

* * @return 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() { return this.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. *

* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public GetRestoreTestingInferredMetadataRequest withRecoveryPointArn(String recoveryPointArn) { setRecoveryPointArn(recoveryPointArn); 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 (getBackupVaultAccountId() != null) sb.append("BackupVaultAccountId: ").append(getBackupVaultAccountId()).append(","); if (getBackupVaultName() != null) sb.append("BackupVaultName: ").append(getBackupVaultName()).append(","); if (getRecoveryPointArn() != null) sb.append("RecoveryPointArn: ").append(getRecoveryPointArn()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetRestoreTestingInferredMetadataRequest == false) return false; GetRestoreTestingInferredMetadataRequest other = (GetRestoreTestingInferredMetadataRequest) obj; if (other.getBackupVaultAccountId() == null ^ this.getBackupVaultAccountId() == null) return false; if (other.getBackupVaultAccountId() != null && other.getBackupVaultAccountId().equals(this.getBackupVaultAccountId()) == 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.getRecoveryPointArn() == null ^ this.getRecoveryPointArn() == null) return false; if (other.getRecoveryPointArn() != null && other.getRecoveryPointArn().equals(this.getRecoveryPointArn()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getBackupVaultAccountId() == null) ? 0 : getBackupVaultAccountId().hashCode()); hashCode = prime * hashCode + ((getBackupVaultName() == null) ? 0 : getBackupVaultName().hashCode()); hashCode = prime * hashCode + ((getRecoveryPointArn() == null) ? 0 : getRecoveryPointArn().hashCode()); return hashCode; } @Override public GetRestoreTestingInferredMetadataRequest clone() { return (GetRestoreTestingInferredMetadataRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy