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

com.amazonaws.services.mgn.model.GetReplicationConfigurationResult Maven / Gradle / Ivy

Go to download

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

There is a newer version: 1.12.778
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.mgn.model;

import java.io.Serializable;
import javax.annotation.Generated;

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

    /**
     * 

* Replication Configuration associate default Application Migration Service Security Group. *

*/ private Boolean associateDefaultSecurityGroup; /** *

* Replication Configuration set bandwidth throttling. *

*/ private Long bandwidthThrottling; /** *

* Replication Configuration create Public IP. *

*/ private Boolean createPublicIP; /** *

* Replication Configuration data plane routing. *

*/ private String dataPlaneRouting; /** *

* Replication Configuration use default large Staging Disks. *

*/ private String defaultLargeStagingDiskType; /** *

* Replication Configuration EBS encryption. *

*/ private String ebsEncryption; /** *

* Replication Configuration EBS encryption key ARN. *

*/ private String ebsEncryptionKeyArn; /** *

* Replication Configuration name. *

*/ private String name; /** *

* Replication Configuration replicated disks. *

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

* Replication Configuration Replication Server instance type. *

*/ private String replicationServerInstanceType; /** *

* Replication Configuration Replication Server Security Group IDs. *

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

* Replication Configuration Source Server ID. *

*/ private String sourceServerID; /** *

* Replication Configuration Staging Area subnet ID. *

*/ private String stagingAreaSubnetId; /** *

* Replication Configuration Staging Area tags. *

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

* Replication Configuration use Dedicated Replication Server. *

*/ private Boolean useDedicatedReplicationServer; /** *

* Replication Configuration use Fips Endpoint. *

*/ private Boolean useFipsEndpoint; /** *

* Replication Configuration associate default Application Migration Service Security Group. *

* * @param associateDefaultSecurityGroup * Replication Configuration associate default Application Migration Service Security Group. */ public void setAssociateDefaultSecurityGroup(Boolean associateDefaultSecurityGroup) { this.associateDefaultSecurityGroup = associateDefaultSecurityGroup; } /** *

* Replication Configuration associate default Application Migration Service Security Group. *

* * @return Replication Configuration associate default Application Migration Service Security Group. */ public Boolean getAssociateDefaultSecurityGroup() { return this.associateDefaultSecurityGroup; } /** *

* Replication Configuration associate default Application Migration Service Security Group. *

* * @param associateDefaultSecurityGroup * Replication Configuration associate default Application Migration Service Security Group. * @return Returns a reference to this object so that method calls can be chained together. */ public GetReplicationConfigurationResult withAssociateDefaultSecurityGroup(Boolean associateDefaultSecurityGroup) { setAssociateDefaultSecurityGroup(associateDefaultSecurityGroup); return this; } /** *

* Replication Configuration associate default Application Migration Service Security Group. *

* * @return Replication Configuration associate default Application Migration Service Security Group. */ public Boolean isAssociateDefaultSecurityGroup() { return this.associateDefaultSecurityGroup; } /** *

* Replication Configuration set bandwidth throttling. *

* * @param bandwidthThrottling * Replication Configuration set bandwidth throttling. */ public void setBandwidthThrottling(Long bandwidthThrottling) { this.bandwidthThrottling = bandwidthThrottling; } /** *

* Replication Configuration set bandwidth throttling. *

* * @return Replication Configuration set bandwidth throttling. */ public Long getBandwidthThrottling() { return this.bandwidthThrottling; } /** *

* Replication Configuration set bandwidth throttling. *

* * @param bandwidthThrottling * Replication Configuration set bandwidth throttling. * @return Returns a reference to this object so that method calls can be chained together. */ public GetReplicationConfigurationResult withBandwidthThrottling(Long bandwidthThrottling) { setBandwidthThrottling(bandwidthThrottling); return this; } /** *

* Replication Configuration create Public IP. *

* * @param createPublicIP * Replication Configuration create Public IP. */ public void setCreatePublicIP(Boolean createPublicIP) { this.createPublicIP = createPublicIP; } /** *

* Replication Configuration create Public IP. *

* * @return Replication Configuration create Public IP. */ public Boolean getCreatePublicIP() { return this.createPublicIP; } /** *

* Replication Configuration create Public IP. *

* * @param createPublicIP * Replication Configuration create Public IP. * @return Returns a reference to this object so that method calls can be chained together. */ public GetReplicationConfigurationResult withCreatePublicIP(Boolean createPublicIP) { setCreatePublicIP(createPublicIP); return this; } /** *

* Replication Configuration create Public IP. *

* * @return Replication Configuration create Public IP. */ public Boolean isCreatePublicIP() { return this.createPublicIP; } /** *

* Replication Configuration data plane routing. *

* * @param dataPlaneRouting * Replication Configuration data plane routing. * @see ReplicationConfigurationDataPlaneRouting */ public void setDataPlaneRouting(String dataPlaneRouting) { this.dataPlaneRouting = dataPlaneRouting; } /** *

* Replication Configuration data plane routing. *

* * @return Replication Configuration data plane routing. * @see ReplicationConfigurationDataPlaneRouting */ public String getDataPlaneRouting() { return this.dataPlaneRouting; } /** *

* Replication Configuration data plane routing. *

* * @param dataPlaneRouting * Replication Configuration data plane routing. * @return Returns a reference to this object so that method calls can be chained together. * @see ReplicationConfigurationDataPlaneRouting */ public GetReplicationConfigurationResult withDataPlaneRouting(String dataPlaneRouting) { setDataPlaneRouting(dataPlaneRouting); return this; } /** *

* Replication Configuration data plane routing. *

* * @param dataPlaneRouting * Replication Configuration data plane routing. * @return Returns a reference to this object so that method calls can be chained together. * @see ReplicationConfigurationDataPlaneRouting */ public GetReplicationConfigurationResult withDataPlaneRouting(ReplicationConfigurationDataPlaneRouting dataPlaneRouting) { this.dataPlaneRouting = dataPlaneRouting.toString(); return this; } /** *

* Replication Configuration use default large Staging Disks. *

* * @param defaultLargeStagingDiskType * Replication Configuration use default large Staging Disks. * @see ReplicationConfigurationDefaultLargeStagingDiskType */ public void setDefaultLargeStagingDiskType(String defaultLargeStagingDiskType) { this.defaultLargeStagingDiskType = defaultLargeStagingDiskType; } /** *

* Replication Configuration use default large Staging Disks. *

* * @return Replication Configuration use default large Staging Disks. * @see ReplicationConfigurationDefaultLargeStagingDiskType */ public String getDefaultLargeStagingDiskType() { return this.defaultLargeStagingDiskType; } /** *

* Replication Configuration use default large Staging Disks. *

* * @param defaultLargeStagingDiskType * Replication Configuration use default large Staging Disks. * @return Returns a reference to this object so that method calls can be chained together. * @see ReplicationConfigurationDefaultLargeStagingDiskType */ public GetReplicationConfigurationResult withDefaultLargeStagingDiskType(String defaultLargeStagingDiskType) { setDefaultLargeStagingDiskType(defaultLargeStagingDiskType); return this; } /** *

* Replication Configuration use default large Staging Disks. *

* * @param defaultLargeStagingDiskType * Replication Configuration use default large Staging Disks. * @return Returns a reference to this object so that method calls can be chained together. * @see ReplicationConfigurationDefaultLargeStagingDiskType */ public GetReplicationConfigurationResult withDefaultLargeStagingDiskType(ReplicationConfigurationDefaultLargeStagingDiskType defaultLargeStagingDiskType) { this.defaultLargeStagingDiskType = defaultLargeStagingDiskType.toString(); return this; } /** *

* Replication Configuration EBS encryption. *

* * @param ebsEncryption * Replication Configuration EBS encryption. * @see ReplicationConfigurationEbsEncryption */ public void setEbsEncryption(String ebsEncryption) { this.ebsEncryption = ebsEncryption; } /** *

* Replication Configuration EBS encryption. *

* * @return Replication Configuration EBS encryption. * @see ReplicationConfigurationEbsEncryption */ public String getEbsEncryption() { return this.ebsEncryption; } /** *

* Replication Configuration EBS encryption. *

* * @param ebsEncryption * Replication Configuration EBS encryption. * @return Returns a reference to this object so that method calls can be chained together. * @see ReplicationConfigurationEbsEncryption */ public GetReplicationConfigurationResult withEbsEncryption(String ebsEncryption) { setEbsEncryption(ebsEncryption); return this; } /** *

* Replication Configuration EBS encryption. *

* * @param ebsEncryption * Replication Configuration EBS encryption. * @return Returns a reference to this object so that method calls can be chained together. * @see ReplicationConfigurationEbsEncryption */ public GetReplicationConfigurationResult withEbsEncryption(ReplicationConfigurationEbsEncryption ebsEncryption) { this.ebsEncryption = ebsEncryption.toString(); return this; } /** *

* Replication Configuration EBS encryption key ARN. *

* * @param ebsEncryptionKeyArn * Replication Configuration EBS encryption key ARN. */ public void setEbsEncryptionKeyArn(String ebsEncryptionKeyArn) { this.ebsEncryptionKeyArn = ebsEncryptionKeyArn; } /** *

* Replication Configuration EBS encryption key ARN. *

* * @return Replication Configuration EBS encryption key ARN. */ public String getEbsEncryptionKeyArn() { return this.ebsEncryptionKeyArn; } /** *

* Replication Configuration EBS encryption key ARN. *

* * @param ebsEncryptionKeyArn * Replication Configuration EBS encryption key ARN. * @return Returns a reference to this object so that method calls can be chained together. */ public GetReplicationConfigurationResult withEbsEncryptionKeyArn(String ebsEncryptionKeyArn) { setEbsEncryptionKeyArn(ebsEncryptionKeyArn); return this; } /** *

* Replication Configuration name. *

* * @param name * Replication Configuration name. */ public void setName(String name) { this.name = name; } /** *

* Replication Configuration name. *

* * @return Replication Configuration name. */ public String getName() { return this.name; } /** *

* Replication Configuration name. *

* * @param name * Replication Configuration name. * @return Returns a reference to this object so that method calls can be chained together. */ public GetReplicationConfigurationResult withName(String name) { setName(name); return this; } /** *

* Replication Configuration replicated disks. *

* * @return Replication Configuration replicated disks. */ public java.util.List getReplicatedDisks() { return replicatedDisks; } /** *

* Replication Configuration replicated disks. *

* * @param replicatedDisks * Replication Configuration replicated disks. */ public void setReplicatedDisks(java.util.Collection replicatedDisks) { if (replicatedDisks == null) { this.replicatedDisks = null; return; } this.replicatedDisks = new java.util.ArrayList(replicatedDisks); } /** *

* Replication Configuration replicated disks. *

*

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

* * @param replicatedDisks * Replication Configuration replicated disks. * @return Returns a reference to this object so that method calls can be chained together. */ public GetReplicationConfigurationResult withReplicatedDisks(ReplicationConfigurationReplicatedDisk... replicatedDisks) { if (this.replicatedDisks == null) { setReplicatedDisks(new java.util.ArrayList(replicatedDisks.length)); } for (ReplicationConfigurationReplicatedDisk ele : replicatedDisks) { this.replicatedDisks.add(ele); } return this; } /** *

* Replication Configuration replicated disks. *

* * @param replicatedDisks * Replication Configuration replicated disks. * @return Returns a reference to this object so that method calls can be chained together. */ public GetReplicationConfigurationResult withReplicatedDisks(java.util.Collection replicatedDisks) { setReplicatedDisks(replicatedDisks); return this; } /** *

* Replication Configuration Replication Server instance type. *

* * @param replicationServerInstanceType * Replication Configuration Replication Server instance type. */ public void setReplicationServerInstanceType(String replicationServerInstanceType) { this.replicationServerInstanceType = replicationServerInstanceType; } /** *

* Replication Configuration Replication Server instance type. *

* * @return Replication Configuration Replication Server instance type. */ public String getReplicationServerInstanceType() { return this.replicationServerInstanceType; } /** *

* Replication Configuration Replication Server instance type. *

* * @param replicationServerInstanceType * Replication Configuration Replication Server instance type. * @return Returns a reference to this object so that method calls can be chained together. */ public GetReplicationConfigurationResult withReplicationServerInstanceType(String replicationServerInstanceType) { setReplicationServerInstanceType(replicationServerInstanceType); return this; } /** *

* Replication Configuration Replication Server Security Group IDs. *

* * @return Replication Configuration Replication Server Security Group IDs. */ public java.util.List getReplicationServersSecurityGroupsIDs() { return replicationServersSecurityGroupsIDs; } /** *

* Replication Configuration Replication Server Security Group IDs. *

* * @param replicationServersSecurityGroupsIDs * Replication Configuration Replication Server Security Group IDs. */ public void setReplicationServersSecurityGroupsIDs(java.util.Collection replicationServersSecurityGroupsIDs) { if (replicationServersSecurityGroupsIDs == null) { this.replicationServersSecurityGroupsIDs = null; return; } this.replicationServersSecurityGroupsIDs = new java.util.ArrayList(replicationServersSecurityGroupsIDs); } /** *

* Replication Configuration Replication Server Security Group IDs. *

*

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

* * @param replicationServersSecurityGroupsIDs * Replication Configuration Replication Server Security Group IDs. * @return Returns a reference to this object so that method calls can be chained together. */ public GetReplicationConfigurationResult withReplicationServersSecurityGroupsIDs(String... replicationServersSecurityGroupsIDs) { if (this.replicationServersSecurityGroupsIDs == null) { setReplicationServersSecurityGroupsIDs(new java.util.ArrayList(replicationServersSecurityGroupsIDs.length)); } for (String ele : replicationServersSecurityGroupsIDs) { this.replicationServersSecurityGroupsIDs.add(ele); } return this; } /** *

* Replication Configuration Replication Server Security Group IDs. *

* * @param replicationServersSecurityGroupsIDs * Replication Configuration Replication Server Security Group IDs. * @return Returns a reference to this object so that method calls can be chained together. */ public GetReplicationConfigurationResult withReplicationServersSecurityGroupsIDs(java.util.Collection replicationServersSecurityGroupsIDs) { setReplicationServersSecurityGroupsIDs(replicationServersSecurityGroupsIDs); return this; } /** *

* Replication Configuration Source Server ID. *

* * @param sourceServerID * Replication Configuration Source Server ID. */ public void setSourceServerID(String sourceServerID) { this.sourceServerID = sourceServerID; } /** *

* Replication Configuration Source Server ID. *

* * @return Replication Configuration Source Server ID. */ public String getSourceServerID() { return this.sourceServerID; } /** *

* Replication Configuration Source Server ID. *

* * @param sourceServerID * Replication Configuration Source Server ID. * @return Returns a reference to this object so that method calls can be chained together. */ public GetReplicationConfigurationResult withSourceServerID(String sourceServerID) { setSourceServerID(sourceServerID); return this; } /** *

* Replication Configuration Staging Area subnet ID. *

* * @param stagingAreaSubnetId * Replication Configuration Staging Area subnet ID. */ public void setStagingAreaSubnetId(String stagingAreaSubnetId) { this.stagingAreaSubnetId = stagingAreaSubnetId; } /** *

* Replication Configuration Staging Area subnet ID. *

* * @return Replication Configuration Staging Area subnet ID. */ public String getStagingAreaSubnetId() { return this.stagingAreaSubnetId; } /** *

* Replication Configuration Staging Area subnet ID. *

* * @param stagingAreaSubnetId * Replication Configuration Staging Area subnet ID. * @return Returns a reference to this object so that method calls can be chained together. */ public GetReplicationConfigurationResult withStagingAreaSubnetId(String stagingAreaSubnetId) { setStagingAreaSubnetId(stagingAreaSubnetId); return this; } /** *

* Replication Configuration Staging Area tags. *

* * @return Replication Configuration Staging Area tags. */ public java.util.Map getStagingAreaTags() { return stagingAreaTags; } /** *

* Replication Configuration Staging Area tags. *

* * @param stagingAreaTags * Replication Configuration Staging Area tags. */ public void setStagingAreaTags(java.util.Map stagingAreaTags) { this.stagingAreaTags = stagingAreaTags; } /** *

* Replication Configuration Staging Area tags. *

* * @param stagingAreaTags * Replication Configuration Staging Area tags. * @return Returns a reference to this object so that method calls can be chained together. */ public GetReplicationConfigurationResult withStagingAreaTags(java.util.Map stagingAreaTags) { setStagingAreaTags(stagingAreaTags); return this; } /** * Add a single StagingAreaTags entry * * @see GetReplicationConfigurationResult#withStagingAreaTags * @returns a reference to this object so that method calls can be chained together. */ public GetReplicationConfigurationResult addStagingAreaTagsEntry(String key, String value) { if (null == this.stagingAreaTags) { this.stagingAreaTags = new java.util.HashMap(); } if (this.stagingAreaTags.containsKey(key)) throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); this.stagingAreaTags.put(key, value); return this; } /** * Removes all the entries added into StagingAreaTags. * * @return Returns a reference to this object so that method calls can be chained together. */ public GetReplicationConfigurationResult clearStagingAreaTagsEntries() { this.stagingAreaTags = null; return this; } /** *

* Replication Configuration use Dedicated Replication Server. *

* * @param useDedicatedReplicationServer * Replication Configuration use Dedicated Replication Server. */ public void setUseDedicatedReplicationServer(Boolean useDedicatedReplicationServer) { this.useDedicatedReplicationServer = useDedicatedReplicationServer; } /** *

* Replication Configuration use Dedicated Replication Server. *

* * @return Replication Configuration use Dedicated Replication Server. */ public Boolean getUseDedicatedReplicationServer() { return this.useDedicatedReplicationServer; } /** *

* Replication Configuration use Dedicated Replication Server. *

* * @param useDedicatedReplicationServer * Replication Configuration use Dedicated Replication Server. * @return Returns a reference to this object so that method calls can be chained together. */ public GetReplicationConfigurationResult withUseDedicatedReplicationServer(Boolean useDedicatedReplicationServer) { setUseDedicatedReplicationServer(useDedicatedReplicationServer); return this; } /** *

* Replication Configuration use Dedicated Replication Server. *

* * @return Replication Configuration use Dedicated Replication Server. */ public Boolean isUseDedicatedReplicationServer() { return this.useDedicatedReplicationServer; } /** *

* Replication Configuration use Fips Endpoint. *

* * @param useFipsEndpoint * Replication Configuration use Fips Endpoint. */ public void setUseFipsEndpoint(Boolean useFipsEndpoint) { this.useFipsEndpoint = useFipsEndpoint; } /** *

* Replication Configuration use Fips Endpoint. *

* * @return Replication Configuration use Fips Endpoint. */ public Boolean getUseFipsEndpoint() { return this.useFipsEndpoint; } /** *

* Replication Configuration use Fips Endpoint. *

* * @param useFipsEndpoint * Replication Configuration use Fips Endpoint. * @return Returns a reference to this object so that method calls can be chained together. */ public GetReplicationConfigurationResult withUseFipsEndpoint(Boolean useFipsEndpoint) { setUseFipsEndpoint(useFipsEndpoint); return this; } /** *

* Replication Configuration use Fips Endpoint. *

* * @return Replication Configuration use Fips Endpoint. */ public Boolean isUseFipsEndpoint() { return this.useFipsEndpoint; } /** * 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 (getAssociateDefaultSecurityGroup() != null) sb.append("AssociateDefaultSecurityGroup: ").append(getAssociateDefaultSecurityGroup()).append(","); if (getBandwidthThrottling() != null) sb.append("BandwidthThrottling: ").append(getBandwidthThrottling()).append(","); if (getCreatePublicIP() != null) sb.append("CreatePublicIP: ").append(getCreatePublicIP()).append(","); if (getDataPlaneRouting() != null) sb.append("DataPlaneRouting: ").append(getDataPlaneRouting()).append(","); if (getDefaultLargeStagingDiskType() != null) sb.append("DefaultLargeStagingDiskType: ").append(getDefaultLargeStagingDiskType()).append(","); if (getEbsEncryption() != null) sb.append("EbsEncryption: ").append(getEbsEncryption()).append(","); if (getEbsEncryptionKeyArn() != null) sb.append("EbsEncryptionKeyArn: ").append(getEbsEncryptionKeyArn()).append(","); if (getName() != null) sb.append("Name: ").append(getName()).append(","); if (getReplicatedDisks() != null) sb.append("ReplicatedDisks: ").append(getReplicatedDisks()).append(","); if (getReplicationServerInstanceType() != null) sb.append("ReplicationServerInstanceType: ").append(getReplicationServerInstanceType()).append(","); if (getReplicationServersSecurityGroupsIDs() != null) sb.append("ReplicationServersSecurityGroupsIDs: ").append(getReplicationServersSecurityGroupsIDs()).append(","); if (getSourceServerID() != null) sb.append("SourceServerID: ").append(getSourceServerID()).append(","); if (getStagingAreaSubnetId() != null) sb.append("StagingAreaSubnetId: ").append(getStagingAreaSubnetId()).append(","); if (getStagingAreaTags() != null) sb.append("StagingAreaTags: ").append("***Sensitive Data Redacted***").append(","); if (getUseDedicatedReplicationServer() != null) sb.append("UseDedicatedReplicationServer: ").append(getUseDedicatedReplicationServer()).append(","); if (getUseFipsEndpoint() != null) sb.append("UseFipsEndpoint: ").append(getUseFipsEndpoint()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetReplicationConfigurationResult == false) return false; GetReplicationConfigurationResult other = (GetReplicationConfigurationResult) obj; if (other.getAssociateDefaultSecurityGroup() == null ^ this.getAssociateDefaultSecurityGroup() == null) return false; if (other.getAssociateDefaultSecurityGroup() != null && other.getAssociateDefaultSecurityGroup().equals(this.getAssociateDefaultSecurityGroup()) == false) return false; if (other.getBandwidthThrottling() == null ^ this.getBandwidthThrottling() == null) return false; if (other.getBandwidthThrottling() != null && other.getBandwidthThrottling().equals(this.getBandwidthThrottling()) == false) return false; if (other.getCreatePublicIP() == null ^ this.getCreatePublicIP() == null) return false; if (other.getCreatePublicIP() != null && other.getCreatePublicIP().equals(this.getCreatePublicIP()) == false) return false; if (other.getDataPlaneRouting() == null ^ this.getDataPlaneRouting() == null) return false; if (other.getDataPlaneRouting() != null && other.getDataPlaneRouting().equals(this.getDataPlaneRouting()) == false) return false; if (other.getDefaultLargeStagingDiskType() == null ^ this.getDefaultLargeStagingDiskType() == null) return false; if (other.getDefaultLargeStagingDiskType() != null && other.getDefaultLargeStagingDiskType().equals(this.getDefaultLargeStagingDiskType()) == false) return false; if (other.getEbsEncryption() == null ^ this.getEbsEncryption() == null) return false; if (other.getEbsEncryption() != null && other.getEbsEncryption().equals(this.getEbsEncryption()) == false) return false; if (other.getEbsEncryptionKeyArn() == null ^ this.getEbsEncryptionKeyArn() == null) return false; if (other.getEbsEncryptionKeyArn() != null && other.getEbsEncryptionKeyArn().equals(this.getEbsEncryptionKeyArn()) == false) return false; if (other.getName() == null ^ this.getName() == null) return false; if (other.getName() != null && other.getName().equals(this.getName()) == false) return false; if (other.getReplicatedDisks() == null ^ this.getReplicatedDisks() == null) return false; if (other.getReplicatedDisks() != null && other.getReplicatedDisks().equals(this.getReplicatedDisks()) == false) return false; if (other.getReplicationServerInstanceType() == null ^ this.getReplicationServerInstanceType() == null) return false; if (other.getReplicationServerInstanceType() != null && other.getReplicationServerInstanceType().equals(this.getReplicationServerInstanceType()) == false) return false; if (other.getReplicationServersSecurityGroupsIDs() == null ^ this.getReplicationServersSecurityGroupsIDs() == null) return false; if (other.getReplicationServersSecurityGroupsIDs() != null && other.getReplicationServersSecurityGroupsIDs().equals(this.getReplicationServersSecurityGroupsIDs()) == false) return false; if (other.getSourceServerID() == null ^ this.getSourceServerID() == null) return false; if (other.getSourceServerID() != null && other.getSourceServerID().equals(this.getSourceServerID()) == false) return false; if (other.getStagingAreaSubnetId() == null ^ this.getStagingAreaSubnetId() == null) return false; if (other.getStagingAreaSubnetId() != null && other.getStagingAreaSubnetId().equals(this.getStagingAreaSubnetId()) == false) return false; if (other.getStagingAreaTags() == null ^ this.getStagingAreaTags() == null) return false; if (other.getStagingAreaTags() != null && other.getStagingAreaTags().equals(this.getStagingAreaTags()) == false) return false; if (other.getUseDedicatedReplicationServer() == null ^ this.getUseDedicatedReplicationServer() == null) return false; if (other.getUseDedicatedReplicationServer() != null && other.getUseDedicatedReplicationServer().equals(this.getUseDedicatedReplicationServer()) == false) return false; if (other.getUseFipsEndpoint() == null ^ this.getUseFipsEndpoint() == null) return false; if (other.getUseFipsEndpoint() != null && other.getUseFipsEndpoint().equals(this.getUseFipsEndpoint()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAssociateDefaultSecurityGroup() == null) ? 0 : getAssociateDefaultSecurityGroup().hashCode()); hashCode = prime * hashCode + ((getBandwidthThrottling() == null) ? 0 : getBandwidthThrottling().hashCode()); hashCode = prime * hashCode + ((getCreatePublicIP() == null) ? 0 : getCreatePublicIP().hashCode()); hashCode = prime * hashCode + ((getDataPlaneRouting() == null) ? 0 : getDataPlaneRouting().hashCode()); hashCode = prime * hashCode + ((getDefaultLargeStagingDiskType() == null) ? 0 : getDefaultLargeStagingDiskType().hashCode()); hashCode = prime * hashCode + ((getEbsEncryption() == null) ? 0 : getEbsEncryption().hashCode()); hashCode = prime * hashCode + ((getEbsEncryptionKeyArn() == null) ? 0 : getEbsEncryptionKeyArn().hashCode()); hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getReplicatedDisks() == null) ? 0 : getReplicatedDisks().hashCode()); hashCode = prime * hashCode + ((getReplicationServerInstanceType() == null) ? 0 : getReplicationServerInstanceType().hashCode()); hashCode = prime * hashCode + ((getReplicationServersSecurityGroupsIDs() == null) ? 0 : getReplicationServersSecurityGroupsIDs().hashCode()); hashCode = prime * hashCode + ((getSourceServerID() == null) ? 0 : getSourceServerID().hashCode()); hashCode = prime * hashCode + ((getStagingAreaSubnetId() == null) ? 0 : getStagingAreaSubnetId().hashCode()); hashCode = prime * hashCode + ((getStagingAreaTags() == null) ? 0 : getStagingAreaTags().hashCode()); hashCode = prime * hashCode + ((getUseDedicatedReplicationServer() == null) ? 0 : getUseDedicatedReplicationServer().hashCode()); hashCode = prime * hashCode + ((getUseFipsEndpoint() == null) ? 0 : getUseFipsEndpoint().hashCode()); return hashCode; } @Override public GetReplicationConfigurationResult clone() { try { return (GetReplicationConfigurationResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy