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

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

/*
 * 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.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* This contains metadata about a specific restore testing selection. *

*

* ProtectedResourceType is required, such as Amazon EBS or Amazon EC2. *

*

* This consists of RestoreTestingSelectionName, ProtectedResourceType, and one of the * following: *

*
    *
  • *

    * ProtectedResourceArns *

    *
  • *
  • *

    * ProtectedResourceConditions *

    *
  • *
*

* Each protected resource type can have one single value. *

*

* A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns along with * ProtectedResourceConditions. Alternatively, you can include up to 30 specific protected resource ARNs in * ProtectedResourceArns. *

*

* ProtectedResourceConditions examples include as StringEquals and * StringNotEquals. *

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

* The Amazon Resource Name (ARN) of the IAM role that Backup uses to create the target resource; for example: * arn:aws:iam::123456789012:role/S3Access. *

*/ private String iamRoleArn; /** *

* Each protected resource can be filtered by its specific ARNs, such as * ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."] or by a wildcard: * ProtectedResourceArns: ["*"], but not both. *

*/ private java.util.List protectedResourceArns; /** *

* If you have included the wildcard in ProtectedResourceArns, you can include resource conditions, such as * ProtectedResourceConditions: { StringEquals: [{ key: "XXXX", value: "YYYY" }]. *

*/ private ProtectedResourceConditions protectedResourceConditions; /** *

* The type of Amazon Web Services resource included in a restore testing selection; for example, an Amazon EBS * volume or an Amazon RDS database. *

*

* Supported resource types accepted include: *

*
    *
  • *

    * Aurora for Amazon Aurora *

    *
  • *
  • *

    * DocumentDB for Amazon DocumentDB (with MongoDB compatibility) *

    *
  • *
  • *

    * DynamoDB for Amazon DynamoDB *

    *
  • *
  • *

    * EBS for Amazon Elastic Block Store *

    *
  • *
  • *

    * EC2 for Amazon Elastic Compute Cloud *

    *
  • *
  • *

    * EFS for Amazon Elastic File System *

    *
  • *
  • *

    * FSx for Amazon FSx *

    *
  • *
  • *

    * Neptune for Amazon Neptune *

    *
  • *
  • *

    * RDS for Amazon Relational Database Service *

    *
  • *
  • *

    * S3 for Amazon S3 *

    *
  • *
*/ private String protectedResourceType; /** *

* You can override certain restore metadata keys by including the parameter RestoreMetadataOverrides * in the body of RestoreTestingSelection. Key values are not case sensitive. *

*

* See the complete list of restore * testing inferred metadata. *

*/ private java.util.Map restoreMetadataOverrides; /** *

* This is the unique name of the restore testing selection that belongs to the related restore testing plan. *

*/ private String restoreTestingSelectionName; /** *

* This is amount of hours (1 to 168) available to run a validation script on the data. The data will be deleted * upon the completion of the validation script or the end of the specified retention period, whichever comes first. *

*/ private Integer validationWindowHours; /** *

* The Amazon Resource Name (ARN) of the IAM role that Backup uses to create the target resource; for example: * arn:aws:iam::123456789012:role/S3Access. *

* * @param iamRoleArn * The Amazon Resource Name (ARN) of the IAM role that Backup uses to create the target resource; for * example: arn:aws:iam::123456789012:role/S3Access. */ public void setIamRoleArn(String iamRoleArn) { this.iamRoleArn = iamRoleArn; } /** *

* The Amazon Resource Name (ARN) of the IAM role that Backup uses to create the target resource; for example: * arn:aws:iam::123456789012:role/S3Access. *

* * @return The Amazon Resource Name (ARN) of the IAM role that Backup uses to create the target resource; for * example: arn:aws:iam::123456789012:role/S3Access. */ public String getIamRoleArn() { return this.iamRoleArn; } /** *

* The Amazon Resource Name (ARN) of the IAM role that Backup uses to create the target resource; for example: * arn:aws:iam::123456789012:role/S3Access. *

* * @param iamRoleArn * The Amazon Resource Name (ARN) of the IAM role that Backup uses to create the target resource; for * example: arn:aws:iam::123456789012:role/S3Access. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreTestingSelectionForCreate withIamRoleArn(String iamRoleArn) { setIamRoleArn(iamRoleArn); return this; } /** *

* Each protected resource can be filtered by its specific ARNs, such as * ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."] or by a wildcard: * ProtectedResourceArns: ["*"], but not both. *

* * @return Each protected resource can be filtered by its specific ARNs, such as * ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."] or by a wildcard: * ProtectedResourceArns: ["*"], but not both. */ public java.util.List getProtectedResourceArns() { return protectedResourceArns; } /** *

* Each protected resource can be filtered by its specific ARNs, such as * ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."] or by a wildcard: * ProtectedResourceArns: ["*"], but not both. *

* * @param protectedResourceArns * Each protected resource can be filtered by its specific ARNs, such as * ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."] or by a wildcard: * ProtectedResourceArns: ["*"], but not both. */ public void setProtectedResourceArns(java.util.Collection protectedResourceArns) { if (protectedResourceArns == null) { this.protectedResourceArns = null; return; } this.protectedResourceArns = new java.util.ArrayList(protectedResourceArns); } /** *

* Each protected resource can be filtered by its specific ARNs, such as * ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."] or by a wildcard: * ProtectedResourceArns: ["*"], but not both. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setProtectedResourceArns(java.util.Collection)} or * {@link #withProtectedResourceArns(java.util.Collection)} if you want to override the existing values. *

* * @param protectedResourceArns * Each protected resource can be filtered by its specific ARNs, such as * ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."] or by a wildcard: * ProtectedResourceArns: ["*"], but not both. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreTestingSelectionForCreate withProtectedResourceArns(String... protectedResourceArns) { if (this.protectedResourceArns == null) { setProtectedResourceArns(new java.util.ArrayList(protectedResourceArns.length)); } for (String ele : protectedResourceArns) { this.protectedResourceArns.add(ele); } return this; } /** *

* Each protected resource can be filtered by its specific ARNs, such as * ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."] or by a wildcard: * ProtectedResourceArns: ["*"], but not both. *

* * @param protectedResourceArns * Each protected resource can be filtered by its specific ARNs, such as * ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."] or by a wildcard: * ProtectedResourceArns: ["*"], but not both. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreTestingSelectionForCreate withProtectedResourceArns(java.util.Collection protectedResourceArns) { setProtectedResourceArns(protectedResourceArns); return this; } /** *

* If you have included the wildcard in ProtectedResourceArns, you can include resource conditions, such as * ProtectedResourceConditions: { StringEquals: [{ key: "XXXX", value: "YYYY" }]. *

* * @param protectedResourceConditions * If you have included the wildcard in ProtectedResourceArns, you can include resource conditions, such as * ProtectedResourceConditions: { StringEquals: [{ key: "XXXX", value: "YYYY" }]. */ public void setProtectedResourceConditions(ProtectedResourceConditions protectedResourceConditions) { this.protectedResourceConditions = protectedResourceConditions; } /** *

* If you have included the wildcard in ProtectedResourceArns, you can include resource conditions, such as * ProtectedResourceConditions: { StringEquals: [{ key: "XXXX", value: "YYYY" }]. *

* * @return If you have included the wildcard in ProtectedResourceArns, you can include resource conditions, such as * ProtectedResourceConditions: { StringEquals: [{ key: "XXXX", value: "YYYY" }]. */ public ProtectedResourceConditions getProtectedResourceConditions() { return this.protectedResourceConditions; } /** *

* If you have included the wildcard in ProtectedResourceArns, you can include resource conditions, such as * ProtectedResourceConditions: { StringEquals: [{ key: "XXXX", value: "YYYY" }]. *

* * @param protectedResourceConditions * If you have included the wildcard in ProtectedResourceArns, you can include resource conditions, such as * ProtectedResourceConditions: { StringEquals: [{ key: "XXXX", value: "YYYY" }]. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreTestingSelectionForCreate withProtectedResourceConditions(ProtectedResourceConditions protectedResourceConditions) { setProtectedResourceConditions(protectedResourceConditions); return this; } /** *

* The type of Amazon Web Services resource included in a restore testing selection; for example, an Amazon EBS * volume or an Amazon RDS database. *

*

* Supported resource types accepted include: *

*
    *
  • *

    * Aurora for Amazon Aurora *

    *
  • *
  • *

    * DocumentDB for Amazon DocumentDB (with MongoDB compatibility) *

    *
  • *
  • *

    * DynamoDB for Amazon DynamoDB *

    *
  • *
  • *

    * EBS for Amazon Elastic Block Store *

    *
  • *
  • *

    * EC2 for Amazon Elastic Compute Cloud *

    *
  • *
  • *

    * EFS for Amazon Elastic File System *

    *
  • *
  • *

    * FSx for Amazon FSx *

    *
  • *
  • *

    * Neptune for Amazon Neptune *

    *
  • *
  • *

    * RDS for Amazon Relational Database Service *

    *
  • *
  • *

    * S3 for Amazon S3 *

    *
  • *
* * @param protectedResourceType * The type of Amazon Web Services resource included in a restore testing selection; for example, an Amazon * EBS volume or an Amazon RDS database.

*

* Supported resource types accepted include: *

*
    *
  • *

    * Aurora for Amazon Aurora *

    *
  • *
  • *

    * DocumentDB for Amazon DocumentDB (with MongoDB compatibility) *

    *
  • *
  • *

    * DynamoDB for Amazon DynamoDB *

    *
  • *
  • *

    * EBS for Amazon Elastic Block Store *

    *
  • *
  • *

    * EC2 for Amazon Elastic Compute Cloud *

    *
  • *
  • *

    * EFS for Amazon Elastic File System *

    *
  • *
  • *

    * FSx for Amazon FSx *

    *
  • *
  • *

    * Neptune for Amazon Neptune *

    *
  • *
  • *

    * RDS for Amazon Relational Database Service *

    *
  • *
  • *

    * S3 for Amazon S3 *

    *
  • */ public void setProtectedResourceType(String protectedResourceType) { this.protectedResourceType = protectedResourceType; } /** *

    * The type of Amazon Web Services resource included in a restore testing selection; for example, an Amazon EBS * volume or an Amazon RDS database. *

    *

    * Supported resource types accepted include: *

    *
      *
    • *

      * Aurora for Amazon Aurora *

      *
    • *
    • *

      * DocumentDB for Amazon DocumentDB (with MongoDB compatibility) *

      *
    • *
    • *

      * DynamoDB for Amazon DynamoDB *

      *
    • *
    • *

      * EBS for Amazon Elastic Block Store *

      *
    • *
    • *

      * EC2 for Amazon Elastic Compute Cloud *

      *
    • *
    • *

      * EFS for Amazon Elastic File System *

      *
    • *
    • *

      * FSx for Amazon FSx *

      *
    • *
    • *

      * Neptune for Amazon Neptune *

      *
    • *
    • *

      * RDS for Amazon Relational Database Service *

      *
    • *
    • *

      * S3 for Amazon S3 *

      *
    • *
    * * @return The type of Amazon Web Services resource included in a restore testing selection; for example, an Amazon * EBS volume or an Amazon RDS database.

    *

    * Supported resource types accepted include: *

    *
      *
    • *

      * Aurora for Amazon Aurora *

      *
    • *
    • *

      * DocumentDB for Amazon DocumentDB (with MongoDB compatibility) *

      *
    • *
    • *

      * DynamoDB for Amazon DynamoDB *

      *
    • *
    • *

      * EBS for Amazon Elastic Block Store *

      *
    • *
    • *

      * EC2 for Amazon Elastic Compute Cloud *

      *
    • *
    • *

      * EFS for Amazon Elastic File System *

      *
    • *
    • *

      * FSx for Amazon FSx *

      *
    • *
    • *

      * Neptune for Amazon Neptune *

      *
    • *
    • *

      * RDS for Amazon Relational Database Service *

      *
    • *
    • *

      * S3 for Amazon S3 *

      *
    • */ public String getProtectedResourceType() { return this.protectedResourceType; } /** *

      * The type of Amazon Web Services resource included in a restore testing selection; for example, an Amazon EBS * volume or an Amazon RDS database. *

      *

      * Supported resource types accepted include: *

      *
        *
      • *

        * Aurora for Amazon Aurora *

        *
      • *
      • *

        * DocumentDB for Amazon DocumentDB (with MongoDB compatibility) *

        *
      • *
      • *

        * DynamoDB for Amazon DynamoDB *

        *
      • *
      • *

        * EBS for Amazon Elastic Block Store *

        *
      • *
      • *

        * EC2 for Amazon Elastic Compute Cloud *

        *
      • *
      • *

        * EFS for Amazon Elastic File System *

        *
      • *
      • *

        * FSx for Amazon FSx *

        *
      • *
      • *

        * Neptune for Amazon Neptune *

        *
      • *
      • *

        * RDS for Amazon Relational Database Service *

        *
      • *
      • *

        * S3 for Amazon S3 *

        *
      • *
      * * @param protectedResourceType * The type of Amazon Web Services resource included in a restore testing selection; for example, an Amazon * EBS volume or an Amazon RDS database.

      *

      * Supported resource types accepted include: *

      *
        *
      • *

        * Aurora for Amazon Aurora *

        *
      • *
      • *

        * DocumentDB for Amazon DocumentDB (with MongoDB compatibility) *

        *
      • *
      • *

        * DynamoDB for Amazon DynamoDB *

        *
      • *
      • *

        * EBS for Amazon Elastic Block Store *

        *
      • *
      • *

        * EC2 for Amazon Elastic Compute Cloud *

        *
      • *
      • *

        * EFS for Amazon Elastic File System *

        *
      • *
      • *

        * FSx for Amazon FSx *

        *
      • *
      • *

        * Neptune for Amazon Neptune *

        *
      • *
      • *

        * RDS for Amazon Relational Database Service *

        *
      • *
      • *

        * S3 for Amazon S3 *

        *
      • * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreTestingSelectionForCreate withProtectedResourceType(String protectedResourceType) { setProtectedResourceType(protectedResourceType); return this; } /** *

        * You can override certain restore metadata keys by including the parameter RestoreMetadataOverrides * in the body of RestoreTestingSelection. Key values are not case sensitive. *

        *

        * See the complete list of restore * testing inferred metadata. *

        * * @return You can override certain restore metadata keys by including the parameter * RestoreMetadataOverrides in the body of RestoreTestingSelection. Key values are * not case sensitive.

        *

        * See the complete list of restore testing inferred metadata. */ public java.util.Map getRestoreMetadataOverrides() { return restoreMetadataOverrides; } /** *

        * You can override certain restore metadata keys by including the parameter RestoreMetadataOverrides * in the body of RestoreTestingSelection. Key values are not case sensitive. *

        *

        * See the complete list of restore * testing inferred metadata. *

        * * @param restoreMetadataOverrides * You can override certain restore metadata keys by including the parameter * RestoreMetadataOverrides in the body of RestoreTestingSelection. Key values are * not case sensitive.

        *

        * See the complete list of restore testing inferred metadata. */ public void setRestoreMetadataOverrides(java.util.Map restoreMetadataOverrides) { this.restoreMetadataOverrides = restoreMetadataOverrides; } /** *

        * You can override certain restore metadata keys by including the parameter RestoreMetadataOverrides * in the body of RestoreTestingSelection. Key values are not case sensitive. *

        *

        * See the complete list of restore * testing inferred metadata. *

        * * @param restoreMetadataOverrides * You can override certain restore metadata keys by including the parameter * RestoreMetadataOverrides in the body of RestoreTestingSelection. Key values are * not case sensitive.

        *

        * See the complete list of restore testing inferred metadata. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreTestingSelectionForCreate withRestoreMetadataOverrides(java.util.Map restoreMetadataOverrides) { setRestoreMetadataOverrides(restoreMetadataOverrides); return this; } /** * Add a single RestoreMetadataOverrides entry * * @see RestoreTestingSelectionForCreate#withRestoreMetadataOverrides * @returns a reference to this object so that method calls can be chained together. */ public RestoreTestingSelectionForCreate addRestoreMetadataOverridesEntry(String key, String value) { if (null == this.restoreMetadataOverrides) { this.restoreMetadataOverrides = new java.util.HashMap(); } if (this.restoreMetadataOverrides.containsKey(key)) throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); this.restoreMetadataOverrides.put(key, value); return this; } /** * Removes all the entries added into RestoreMetadataOverrides. * * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreTestingSelectionForCreate clearRestoreMetadataOverridesEntries() { this.restoreMetadataOverrides = null; return this; } /** *

        * This is the unique name of the restore testing selection that belongs to the related restore testing plan. *

        * * @param restoreTestingSelectionName * This is the unique name of the restore testing selection that belongs to the related restore testing plan. */ public void setRestoreTestingSelectionName(String restoreTestingSelectionName) { this.restoreTestingSelectionName = restoreTestingSelectionName; } /** *

        * This is the unique name of the restore testing selection that belongs to the related restore testing plan. *

        * * @return This is the unique name of the restore testing selection that belongs to the related restore testing * plan. */ public String getRestoreTestingSelectionName() { return this.restoreTestingSelectionName; } /** *

        * This is the unique name of the restore testing selection that belongs to the related restore testing plan. *

        * * @param restoreTestingSelectionName * This is the unique name of the restore testing selection that belongs to the related restore testing plan. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreTestingSelectionForCreate withRestoreTestingSelectionName(String restoreTestingSelectionName) { setRestoreTestingSelectionName(restoreTestingSelectionName); return this; } /** *

        * This is amount of hours (1 to 168) available to run a validation script on the data. The data will be deleted * upon the completion of the validation script or the end of the specified retention period, whichever comes first. *

        * * @param validationWindowHours * This is amount of hours (1 to 168) available to run a validation script on the data. The data will be * deleted upon the completion of the validation script or the end of the specified retention period, * whichever comes first. */ public void setValidationWindowHours(Integer validationWindowHours) { this.validationWindowHours = validationWindowHours; } /** *

        * This is amount of hours (1 to 168) available to run a validation script on the data. The data will be deleted * upon the completion of the validation script or the end of the specified retention period, whichever comes first. *

        * * @return This is amount of hours (1 to 168) available to run a validation script on the data. The data will be * deleted upon the completion of the validation script or the end of the specified retention period, * whichever comes first. */ public Integer getValidationWindowHours() { return this.validationWindowHours; } /** *

        * This is amount of hours (1 to 168) available to run a validation script on the data. The data will be deleted * upon the completion of the validation script or the end of the specified retention period, whichever comes first. *

        * * @param validationWindowHours * This is amount of hours (1 to 168) available to run a validation script on the data. The data will be * deleted upon the completion of the validation script or the end of the specified retention period, * whichever comes first. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreTestingSelectionForCreate withValidationWindowHours(Integer validationWindowHours) { setValidationWindowHours(validationWindowHours); 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 (getIamRoleArn() != null) sb.append("IamRoleArn: ").append(getIamRoleArn()).append(","); if (getProtectedResourceArns() != null) sb.append("ProtectedResourceArns: ").append(getProtectedResourceArns()).append(","); if (getProtectedResourceConditions() != null) sb.append("ProtectedResourceConditions: ").append(getProtectedResourceConditions()).append(","); if (getProtectedResourceType() != null) sb.append("ProtectedResourceType: ").append(getProtectedResourceType()).append(","); if (getRestoreMetadataOverrides() != null) sb.append("RestoreMetadataOverrides: ").append("***Sensitive Data Redacted***").append(","); if (getRestoreTestingSelectionName() != null) sb.append("RestoreTestingSelectionName: ").append(getRestoreTestingSelectionName()).append(","); if (getValidationWindowHours() != null) sb.append("ValidationWindowHours: ").append(getValidationWindowHours()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof RestoreTestingSelectionForCreate == false) return false; RestoreTestingSelectionForCreate other = (RestoreTestingSelectionForCreate) obj; if (other.getIamRoleArn() == null ^ this.getIamRoleArn() == null) return false; if (other.getIamRoleArn() != null && other.getIamRoleArn().equals(this.getIamRoleArn()) == false) return false; if (other.getProtectedResourceArns() == null ^ this.getProtectedResourceArns() == null) return false; if (other.getProtectedResourceArns() != null && other.getProtectedResourceArns().equals(this.getProtectedResourceArns()) == false) return false; if (other.getProtectedResourceConditions() == null ^ this.getProtectedResourceConditions() == null) return false; if (other.getProtectedResourceConditions() != null && other.getProtectedResourceConditions().equals(this.getProtectedResourceConditions()) == false) return false; if (other.getProtectedResourceType() == null ^ this.getProtectedResourceType() == null) return false; if (other.getProtectedResourceType() != null && other.getProtectedResourceType().equals(this.getProtectedResourceType()) == false) return false; if (other.getRestoreMetadataOverrides() == null ^ this.getRestoreMetadataOverrides() == null) return false; if (other.getRestoreMetadataOverrides() != null && other.getRestoreMetadataOverrides().equals(this.getRestoreMetadataOverrides()) == false) return false; if (other.getRestoreTestingSelectionName() == null ^ this.getRestoreTestingSelectionName() == null) return false; if (other.getRestoreTestingSelectionName() != null && other.getRestoreTestingSelectionName().equals(this.getRestoreTestingSelectionName()) == false) return false; if (other.getValidationWindowHours() == null ^ this.getValidationWindowHours() == null) return false; if (other.getValidationWindowHours() != null && other.getValidationWindowHours().equals(this.getValidationWindowHours()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getIamRoleArn() == null) ? 0 : getIamRoleArn().hashCode()); hashCode = prime * hashCode + ((getProtectedResourceArns() == null) ? 0 : getProtectedResourceArns().hashCode()); hashCode = prime * hashCode + ((getProtectedResourceConditions() == null) ? 0 : getProtectedResourceConditions().hashCode()); hashCode = prime * hashCode + ((getProtectedResourceType() == null) ? 0 : getProtectedResourceType().hashCode()); hashCode = prime * hashCode + ((getRestoreMetadataOverrides() == null) ? 0 : getRestoreMetadataOverrides().hashCode()); hashCode = prime * hashCode + ((getRestoreTestingSelectionName() == null) ? 0 : getRestoreTestingSelectionName().hashCode()); hashCode = prime * hashCode + ((getValidationWindowHours() == null) ? 0 : getValidationWindowHours().hashCode()); return hashCode; } @Override public RestoreTestingSelectionForCreate clone() { try { return (RestoreTestingSelectionForCreate) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.backup.model.transform.RestoreTestingSelectionForCreateMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy