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

com.amazonaws.services.mgn.model.CreateReplicationConfigurationTemplateRequest 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;

import com.amazonaws.AmazonWebServiceRequest;

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

    /**
     * 

* Request to associate the default Application Migration Service Security group with the Replication Settings * template. *

*/ private Boolean associateDefaultSecurityGroup; /** *

* Request to configure bandwidth throttling during Replication Settings template creation. *

*/ private Long bandwidthThrottling; /** *

* Request to create Public IP during Replication Settings template creation. *

*/ private Boolean createPublicIP; /** *

* Request to configure data plane routing during Replication Settings template creation. *

*/ private String dataPlaneRouting; /** *

* Request to configure the default large staging disk EBS volume type during Replication Settings template * creation. *

*/ private String defaultLargeStagingDiskType; /** *

* Request to configure EBS encryption during Replication Settings template creation. *

*/ private String ebsEncryption; /** *

* Request to configure an EBS encryption key during Replication Settings template creation. *

*/ private String ebsEncryptionKeyArn; /** *

* Request to configure the Replication Server instance type during Replication Settings template creation. *

*/ private String replicationServerInstanceType; /** *

* Request to configure the Replication Server Security group ID during Replication Settings template creation. *

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

* Request to configure the Staging Area subnet ID during Replication Settings template creation. *

*/ private String stagingAreaSubnetId; /** *

* Request to configure Staging Area tags during Replication Settings template creation. *

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

* Request to configure tags during Replication Settings template creation. *

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

* Request to use Dedicated Replication Servers during Replication Settings template creation. *

*/ private Boolean useDedicatedReplicationServer; /** *

* Request to use Fips Endpoint during Replication Settings template creation. *

*/ private Boolean useFipsEndpoint; /** *

* Request to associate the default Application Migration Service Security group with the Replication Settings * template. *

* * @param associateDefaultSecurityGroup * Request to associate the default Application Migration Service Security group with the Replication * Settings template. */ public void setAssociateDefaultSecurityGroup(Boolean associateDefaultSecurityGroup) { this.associateDefaultSecurityGroup = associateDefaultSecurityGroup; } /** *

* Request to associate the default Application Migration Service Security group with the Replication Settings * template. *

* * @return Request to associate the default Application Migration Service Security group with the Replication * Settings template. */ public Boolean getAssociateDefaultSecurityGroup() { return this.associateDefaultSecurityGroup; } /** *

* Request to associate the default Application Migration Service Security group with the Replication Settings * template. *

* * @param associateDefaultSecurityGroup * Request to associate the default Application Migration Service Security group with the Replication * Settings template. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateReplicationConfigurationTemplateRequest withAssociateDefaultSecurityGroup(Boolean associateDefaultSecurityGroup) { setAssociateDefaultSecurityGroup(associateDefaultSecurityGroup); return this; } /** *

* Request to associate the default Application Migration Service Security group with the Replication Settings * template. *

* * @return Request to associate the default Application Migration Service Security group with the Replication * Settings template. */ public Boolean isAssociateDefaultSecurityGroup() { return this.associateDefaultSecurityGroup; } /** *

* Request to configure bandwidth throttling during Replication Settings template creation. *

* * @param bandwidthThrottling * Request to configure bandwidth throttling during Replication Settings template creation. */ public void setBandwidthThrottling(Long bandwidthThrottling) { this.bandwidthThrottling = bandwidthThrottling; } /** *

* Request to configure bandwidth throttling during Replication Settings template creation. *

* * @return Request to configure bandwidth throttling during Replication Settings template creation. */ public Long getBandwidthThrottling() { return this.bandwidthThrottling; } /** *

* Request to configure bandwidth throttling during Replication Settings template creation. *

* * @param bandwidthThrottling * Request to configure bandwidth throttling during Replication Settings template creation. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateReplicationConfigurationTemplateRequest withBandwidthThrottling(Long bandwidthThrottling) { setBandwidthThrottling(bandwidthThrottling); return this; } /** *

* Request to create Public IP during Replication Settings template creation. *

* * @param createPublicIP * Request to create Public IP during Replication Settings template creation. */ public void setCreatePublicIP(Boolean createPublicIP) { this.createPublicIP = createPublicIP; } /** *

* Request to create Public IP during Replication Settings template creation. *

* * @return Request to create Public IP during Replication Settings template creation. */ public Boolean getCreatePublicIP() { return this.createPublicIP; } /** *

* Request to create Public IP during Replication Settings template creation. *

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

* Request to create Public IP during Replication Settings template creation. *

* * @return Request to create Public IP during Replication Settings template creation. */ public Boolean isCreatePublicIP() { return this.createPublicIP; } /** *

* Request to configure data plane routing during Replication Settings template creation. *

* * @param dataPlaneRouting * Request to configure data plane routing during Replication Settings template creation. * @see ReplicationConfigurationDataPlaneRouting */ public void setDataPlaneRouting(String dataPlaneRouting) { this.dataPlaneRouting = dataPlaneRouting; } /** *

* Request to configure data plane routing during Replication Settings template creation. *

* * @return Request to configure data plane routing during Replication Settings template creation. * @see ReplicationConfigurationDataPlaneRouting */ public String getDataPlaneRouting() { return this.dataPlaneRouting; } /** *

* Request to configure data plane routing during Replication Settings template creation. *

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

* Request to configure data plane routing during Replication Settings template creation. *

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

* Request to configure the default large staging disk EBS volume type during Replication Settings template * creation. *

* * @param defaultLargeStagingDiskType * Request to configure the default large staging disk EBS volume type during Replication Settings template * creation. * @see ReplicationConfigurationDefaultLargeStagingDiskType */ public void setDefaultLargeStagingDiskType(String defaultLargeStagingDiskType) { this.defaultLargeStagingDiskType = defaultLargeStagingDiskType; } /** *

* Request to configure the default large staging disk EBS volume type during Replication Settings template * creation. *

* * @return Request to configure the default large staging disk EBS volume type during Replication Settings template * creation. * @see ReplicationConfigurationDefaultLargeStagingDiskType */ public String getDefaultLargeStagingDiskType() { return this.defaultLargeStagingDiskType; } /** *

* Request to configure the default large staging disk EBS volume type during Replication Settings template * creation. *

* * @param defaultLargeStagingDiskType * Request to configure the default large staging disk EBS volume type during Replication Settings template * creation. * @return Returns a reference to this object so that method calls can be chained together. * @see ReplicationConfigurationDefaultLargeStagingDiskType */ public CreateReplicationConfigurationTemplateRequest withDefaultLargeStagingDiskType(String defaultLargeStagingDiskType) { setDefaultLargeStagingDiskType(defaultLargeStagingDiskType); return this; } /** *

* Request to configure the default large staging disk EBS volume type during Replication Settings template * creation. *

* * @param defaultLargeStagingDiskType * Request to configure the default large staging disk EBS volume type during Replication Settings template * creation. * @return Returns a reference to this object so that method calls can be chained together. * @see ReplicationConfigurationDefaultLargeStagingDiskType */ public CreateReplicationConfigurationTemplateRequest withDefaultLargeStagingDiskType( ReplicationConfigurationDefaultLargeStagingDiskType defaultLargeStagingDiskType) { this.defaultLargeStagingDiskType = defaultLargeStagingDiskType.toString(); return this; } /** *

* Request to configure EBS encryption during Replication Settings template creation. *

* * @param ebsEncryption * Request to configure EBS encryption during Replication Settings template creation. * @see ReplicationConfigurationEbsEncryption */ public void setEbsEncryption(String ebsEncryption) { this.ebsEncryption = ebsEncryption; } /** *

* Request to configure EBS encryption during Replication Settings template creation. *

* * @return Request to configure EBS encryption during Replication Settings template creation. * @see ReplicationConfigurationEbsEncryption */ public String getEbsEncryption() { return this.ebsEncryption; } /** *

* Request to configure EBS encryption during Replication Settings template creation. *

* * @param ebsEncryption * Request to configure EBS encryption during Replication Settings template creation. * @return Returns a reference to this object so that method calls can be chained together. * @see ReplicationConfigurationEbsEncryption */ public CreateReplicationConfigurationTemplateRequest withEbsEncryption(String ebsEncryption) { setEbsEncryption(ebsEncryption); return this; } /** *

* Request to configure EBS encryption during Replication Settings template creation. *

* * @param ebsEncryption * Request to configure EBS encryption during Replication Settings template creation. * @return Returns a reference to this object so that method calls can be chained together. * @see ReplicationConfigurationEbsEncryption */ public CreateReplicationConfigurationTemplateRequest withEbsEncryption(ReplicationConfigurationEbsEncryption ebsEncryption) { this.ebsEncryption = ebsEncryption.toString(); return this; } /** *

* Request to configure an EBS encryption key during Replication Settings template creation. *

* * @param ebsEncryptionKeyArn * Request to configure an EBS encryption key during Replication Settings template creation. */ public void setEbsEncryptionKeyArn(String ebsEncryptionKeyArn) { this.ebsEncryptionKeyArn = ebsEncryptionKeyArn; } /** *

* Request to configure an EBS encryption key during Replication Settings template creation. *

* * @return Request to configure an EBS encryption key during Replication Settings template creation. */ public String getEbsEncryptionKeyArn() { return this.ebsEncryptionKeyArn; } /** *

* Request to configure an EBS encryption key during Replication Settings template creation. *

* * @param ebsEncryptionKeyArn * Request to configure an EBS encryption key during Replication Settings template creation. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateReplicationConfigurationTemplateRequest withEbsEncryptionKeyArn(String ebsEncryptionKeyArn) { setEbsEncryptionKeyArn(ebsEncryptionKeyArn); return this; } /** *

* Request to configure the Replication Server instance type during Replication Settings template creation. *

* * @param replicationServerInstanceType * Request to configure the Replication Server instance type during Replication Settings template creation. */ public void setReplicationServerInstanceType(String replicationServerInstanceType) { this.replicationServerInstanceType = replicationServerInstanceType; } /** *

* Request to configure the Replication Server instance type during Replication Settings template creation. *

* * @return Request to configure the Replication Server instance type during Replication Settings template creation. */ public String getReplicationServerInstanceType() { return this.replicationServerInstanceType; } /** *

* Request to configure the Replication Server instance type during Replication Settings template creation. *

* * @param replicationServerInstanceType * Request to configure the Replication Server instance type during Replication Settings template creation. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateReplicationConfigurationTemplateRequest withReplicationServerInstanceType(String replicationServerInstanceType) { setReplicationServerInstanceType(replicationServerInstanceType); return this; } /** *

* Request to configure the Replication Server Security group ID during Replication Settings template creation. *

* * @return Request to configure the Replication Server Security group ID during Replication Settings template * creation. */ public java.util.List getReplicationServersSecurityGroupsIDs() { return replicationServersSecurityGroupsIDs; } /** *

* Request to configure the Replication Server Security group ID during Replication Settings template creation. *

* * @param replicationServersSecurityGroupsIDs * Request to configure the Replication Server Security group ID during Replication Settings template * creation. */ public void setReplicationServersSecurityGroupsIDs(java.util.Collection replicationServersSecurityGroupsIDs) { if (replicationServersSecurityGroupsIDs == null) { this.replicationServersSecurityGroupsIDs = null; return; } this.replicationServersSecurityGroupsIDs = new java.util.ArrayList(replicationServersSecurityGroupsIDs); } /** *

* Request to configure the Replication Server Security group ID during Replication Settings template creation. *

*

* 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 * Request to configure the Replication Server Security group ID during Replication Settings template * creation. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateReplicationConfigurationTemplateRequest withReplicationServersSecurityGroupsIDs(String... replicationServersSecurityGroupsIDs) { if (this.replicationServersSecurityGroupsIDs == null) { setReplicationServersSecurityGroupsIDs(new java.util.ArrayList(replicationServersSecurityGroupsIDs.length)); } for (String ele : replicationServersSecurityGroupsIDs) { this.replicationServersSecurityGroupsIDs.add(ele); } return this; } /** *

* Request to configure the Replication Server Security group ID during Replication Settings template creation. *

* * @param replicationServersSecurityGroupsIDs * Request to configure the Replication Server Security group ID during Replication Settings template * creation. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateReplicationConfigurationTemplateRequest withReplicationServersSecurityGroupsIDs( java.util.Collection replicationServersSecurityGroupsIDs) { setReplicationServersSecurityGroupsIDs(replicationServersSecurityGroupsIDs); return this; } /** *

* Request to configure the Staging Area subnet ID during Replication Settings template creation. *

* * @param stagingAreaSubnetId * Request to configure the Staging Area subnet ID during Replication Settings template creation. */ public void setStagingAreaSubnetId(String stagingAreaSubnetId) { this.stagingAreaSubnetId = stagingAreaSubnetId; } /** *

* Request to configure the Staging Area subnet ID during Replication Settings template creation. *

* * @return Request to configure the Staging Area subnet ID during Replication Settings template creation. */ public String getStagingAreaSubnetId() { return this.stagingAreaSubnetId; } /** *

* Request to configure the Staging Area subnet ID during Replication Settings template creation. *

* * @param stagingAreaSubnetId * Request to configure the Staging Area subnet ID during Replication Settings template creation. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateReplicationConfigurationTemplateRequest withStagingAreaSubnetId(String stagingAreaSubnetId) { setStagingAreaSubnetId(stagingAreaSubnetId); return this; } /** *

* Request to configure Staging Area tags during Replication Settings template creation. *

* * @return Request to configure Staging Area tags during Replication Settings template creation. */ public java.util.Map getStagingAreaTags() { return stagingAreaTags; } /** *

* Request to configure Staging Area tags during Replication Settings template creation. *

* * @param stagingAreaTags * Request to configure Staging Area tags during Replication Settings template creation. */ public void setStagingAreaTags(java.util.Map stagingAreaTags) { this.stagingAreaTags = stagingAreaTags; } /** *

* Request to configure Staging Area tags during Replication Settings template creation. *

* * @param stagingAreaTags * Request to configure Staging Area tags during Replication Settings template creation. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateReplicationConfigurationTemplateRequest withStagingAreaTags(java.util.Map stagingAreaTags) { setStagingAreaTags(stagingAreaTags); return this; } /** * Add a single StagingAreaTags entry * * @see CreateReplicationConfigurationTemplateRequest#withStagingAreaTags * @returns a reference to this object so that method calls can be chained together. */ public CreateReplicationConfigurationTemplateRequest 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 CreateReplicationConfigurationTemplateRequest clearStagingAreaTagsEntries() { this.stagingAreaTags = null; return this; } /** *

* Request to configure tags during Replication Settings template creation. *

* * @return Request to configure tags during Replication Settings template creation. */ public java.util.Map getTags() { return tags; } /** *

* Request to configure tags during Replication Settings template creation. *

* * @param tags * Request to configure tags during Replication Settings template creation. */ public void setTags(java.util.Map tags) { this.tags = tags; } /** *

* Request to configure tags during Replication Settings template creation. *

* * @param tags * Request to configure tags during Replication Settings template creation. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateReplicationConfigurationTemplateRequest withTags(java.util.Map tags) { setTags(tags); return this; } /** * Add a single Tags entry * * @see CreateReplicationConfigurationTemplateRequest#withTags * @returns a reference to this object so that method calls can be chained together. */ public CreateReplicationConfigurationTemplateRequest addTagsEntry(String key, String value) { if (null == this.tags) { this.tags = new java.util.HashMap(); } if (this.tags.containsKey(key)) throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); this.tags.put(key, value); return this; } /** * Removes all the entries added into Tags. * * @return Returns a reference to this object so that method calls can be chained together. */ public CreateReplicationConfigurationTemplateRequest clearTagsEntries() { this.tags = null; return this; } /** *

* Request to use Dedicated Replication Servers during Replication Settings template creation. *

* * @param useDedicatedReplicationServer * Request to use Dedicated Replication Servers during Replication Settings template creation. */ public void setUseDedicatedReplicationServer(Boolean useDedicatedReplicationServer) { this.useDedicatedReplicationServer = useDedicatedReplicationServer; } /** *

* Request to use Dedicated Replication Servers during Replication Settings template creation. *

* * @return Request to use Dedicated Replication Servers during Replication Settings template creation. */ public Boolean getUseDedicatedReplicationServer() { return this.useDedicatedReplicationServer; } /** *

* Request to use Dedicated Replication Servers during Replication Settings template creation. *

* * @param useDedicatedReplicationServer * Request to use Dedicated Replication Servers during Replication Settings template creation. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateReplicationConfigurationTemplateRequest withUseDedicatedReplicationServer(Boolean useDedicatedReplicationServer) { setUseDedicatedReplicationServer(useDedicatedReplicationServer); return this; } /** *

* Request to use Dedicated Replication Servers during Replication Settings template creation. *

* * @return Request to use Dedicated Replication Servers during Replication Settings template creation. */ public Boolean isUseDedicatedReplicationServer() { return this.useDedicatedReplicationServer; } /** *

* Request to use Fips Endpoint during Replication Settings template creation. *

* * @param useFipsEndpoint * Request to use Fips Endpoint during Replication Settings template creation. */ public void setUseFipsEndpoint(Boolean useFipsEndpoint) { this.useFipsEndpoint = useFipsEndpoint; } /** *

* Request to use Fips Endpoint during Replication Settings template creation. *

* * @return Request to use Fips Endpoint during Replication Settings template creation. */ public Boolean getUseFipsEndpoint() { return this.useFipsEndpoint; } /** *

* Request to use Fips Endpoint during Replication Settings template creation. *

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

* Request to use Fips Endpoint during Replication Settings template creation. *

* * @return Request to use Fips Endpoint during Replication Settings template creation. */ 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 (getReplicationServerInstanceType() != null) sb.append("ReplicationServerInstanceType: ").append(getReplicationServerInstanceType()).append(","); if (getReplicationServersSecurityGroupsIDs() != null) sb.append("ReplicationServersSecurityGroupsIDs: ").append(getReplicationServersSecurityGroupsIDs()).append(","); if (getStagingAreaSubnetId() != null) sb.append("StagingAreaSubnetId: ").append(getStagingAreaSubnetId()).append(","); if (getStagingAreaTags() != null) sb.append("StagingAreaTags: ").append("***Sensitive Data Redacted***").append(","); if (getTags() != null) sb.append("Tags: ").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 CreateReplicationConfigurationTemplateRequest == false) return false; CreateReplicationConfigurationTemplateRequest other = (CreateReplicationConfigurationTemplateRequest) 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.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.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.getTags() == null ^ this.getTags() == null) return false; if (other.getTags() != null && other.getTags().equals(this.getTags()) == 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 + ((getReplicationServerInstanceType() == null) ? 0 : getReplicationServerInstanceType().hashCode()); hashCode = prime * hashCode + ((getReplicationServersSecurityGroupsIDs() == null) ? 0 : getReplicationServersSecurityGroupsIDs().hashCode()); hashCode = prime * hashCode + ((getStagingAreaSubnetId() == null) ? 0 : getStagingAreaSubnetId().hashCode()); hashCode = prime * hashCode + ((getStagingAreaTags() == null) ? 0 : getStagingAreaTags().hashCode()); hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); hashCode = prime * hashCode + ((getUseDedicatedReplicationServer() == null) ? 0 : getUseDedicatedReplicationServer().hashCode()); hashCode = prime * hashCode + ((getUseFipsEndpoint() == null) ? 0 : getUseFipsEndpoint().hashCode()); return hashCode; } @Override public CreateReplicationConfigurationTemplateRequest clone() { return (CreateReplicationConfigurationTemplateRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy