
com.amazonaws.services.databasemigrationservice.model.ModifyReplicationInstanceRequest Maven / Gradle / Ivy
Show all versions of aws-java-sdk-dms Show documentation
/*
* Copyright 2010-2016 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.databasemigrationservice.model;
import java.io.Serializable;
import com.amazonaws.AmazonWebServiceRequest;
/**
*
*/
public class ModifyReplicationInstanceRequest extends AmazonWebServiceRequest
implements Serializable, Cloneable {
/**
*
* The Amazon Resource Name (ARN) of the replication instance.
*
*/
private String replicationInstanceArn;
/**
*
* The amount of storage (in gigabytes) to be allocated for the replication
* instance.
*
*/
private Integer allocatedStorage;
/**
*
* Indicates whether the changes should be applied immediately or during the
* next maintenance window.
*
*/
private Boolean applyImmediately;
/**
*
* The compute and memory capacity of the replication instance.
*
*
* Valid Values:
* dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge
*
*/
private String replicationInstanceClass;
/**
*
* The weekly time range (in UTC) during which system maintenance can occur,
* which might result in an outage. Changing this parameter does not result
* in an outage, except in the following situation, and the change is
* asynchronously applied as soon as possible. If moving this window to the
* current time, there must be at least 30 minutes between the current time
* and end of the window to ensure pending changes are applied.
*
*
* Default: Uses existing setting
*
*
* Format: ddd:hh24:mi-ddd:hh24:mi
*
*
* Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
*
*
* Constraints: Must be at least 30 minutes
*
*/
private String preferredMaintenanceWindow;
/**
*
* The engine version number of the replication instance.
*
*/
private String engineVersion;
/**
*
* Indicates that major version upgrades are allowed. Changing this
* parameter does not result in an outage and the change is asynchronously
* applied as soon as possible.
*
*
* Constraints: This parameter must be set to true when specifying a value
* for the EngineVersion
parameter that is a different major
* version than the replication instance's current version.
*
*/
private Boolean allowMajorVersionUpgrade;
/**
*
* Indicates that minor version upgrades will be applied automatically to
* the replication instance during the maintenance window. Changing this
* parameter does not result in an outage except in the following case and
* the change is asynchronously applied as soon as possible. An outage will
* result if this parameter is set to true
during the
* maintenance window, and a newer minor version is available, and AWS DMS
* has enabled auto patching for that engine version.
*
*/
private Boolean autoMinorVersionUpgrade;
/**
*
* The replication instance identifier. This parameter is stored as a
* lowercase string.
*
*/
private String replicationInstanceIdentifier;
/**
*
* The Amazon Resource Name (ARN) of the replication instance.
*
*
* @param replicationInstanceArn
* The Amazon Resource Name (ARN) of the replication instance.
*/
public void setReplicationInstanceArn(String replicationInstanceArn) {
this.replicationInstanceArn = replicationInstanceArn;
}
/**
*
* The Amazon Resource Name (ARN) of the replication instance.
*
*
* @return The Amazon Resource Name (ARN) of the replication instance.
*/
public String getReplicationInstanceArn() {
return this.replicationInstanceArn;
}
/**
*
* The Amazon Resource Name (ARN) of the replication instance.
*
*
* @param replicationInstanceArn
* The Amazon Resource Name (ARN) of the replication instance.
* @return Returns a reference to this object so that method calls can be
* chained together.
*/
public ModifyReplicationInstanceRequest withReplicationInstanceArn(
String replicationInstanceArn) {
setReplicationInstanceArn(replicationInstanceArn);
return this;
}
/**
*
* The amount of storage (in gigabytes) to be allocated for the replication
* instance.
*
*
* @param allocatedStorage
* The amount of storage (in gigabytes) to be allocated for the
* replication instance.
*/
public void setAllocatedStorage(Integer allocatedStorage) {
this.allocatedStorage = allocatedStorage;
}
/**
*
* The amount of storage (in gigabytes) to be allocated for the replication
* instance.
*
*
* @return The amount of storage (in gigabytes) to be allocated for the
* replication instance.
*/
public Integer getAllocatedStorage() {
return this.allocatedStorage;
}
/**
*
* The amount of storage (in gigabytes) to be allocated for the replication
* instance.
*
*
* @param allocatedStorage
* The amount of storage (in gigabytes) to be allocated for the
* replication instance.
* @return Returns a reference to this object so that method calls can be
* chained together.
*/
public ModifyReplicationInstanceRequest withAllocatedStorage(
Integer allocatedStorage) {
setAllocatedStorage(allocatedStorage);
return this;
}
/**
*
* Indicates whether the changes should be applied immediately or during the
* next maintenance window.
*
*
* @param applyImmediately
* Indicates whether the changes should be applied immediately or
* during the next maintenance window.
*/
public void setApplyImmediately(Boolean applyImmediately) {
this.applyImmediately = applyImmediately;
}
/**
*
* Indicates whether the changes should be applied immediately or during the
* next maintenance window.
*
*
* @return Indicates whether the changes should be applied immediately or
* during the next maintenance window.
*/
public Boolean getApplyImmediately() {
return this.applyImmediately;
}
/**
*
* Indicates whether the changes should be applied immediately or during the
* next maintenance window.
*
*
* @param applyImmediately
* Indicates whether the changes should be applied immediately or
* during the next maintenance window.
* @return Returns a reference to this object so that method calls can be
* chained together.
*/
public ModifyReplicationInstanceRequest withApplyImmediately(
Boolean applyImmediately) {
setApplyImmediately(applyImmediately);
return this;
}
/**
*
* Indicates whether the changes should be applied immediately or during the
* next maintenance window.
*
*
* @return Indicates whether the changes should be applied immediately or
* during the next maintenance window.
*/
public Boolean isApplyImmediately() {
return this.applyImmediately;
}
/**
*
* The compute and memory capacity of the replication instance.
*
*
* Valid Values:
* dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge
*
*
* @param replicationInstanceClass
* The compute and memory capacity of the replication instance.
*
* Valid Values:
* dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge
*/
public void setReplicationInstanceClass(String replicationInstanceClass) {
this.replicationInstanceClass = replicationInstanceClass;
}
/**
*
* The compute and memory capacity of the replication instance.
*
*
* Valid Values:
* dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge
*
*
* @return The compute and memory capacity of the replication instance.
*
* Valid Values:
* dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge
*/
public String getReplicationInstanceClass() {
return this.replicationInstanceClass;
}
/**
*
* The compute and memory capacity of the replication instance.
*
*
* Valid Values:
* dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge
*
*
* @param replicationInstanceClass
* The compute and memory capacity of the replication instance.
*
* Valid Values:
* dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge
* @return Returns a reference to this object so that method calls can be
* chained together.
*/
public ModifyReplicationInstanceRequest withReplicationInstanceClass(
String replicationInstanceClass) {
setReplicationInstanceClass(replicationInstanceClass);
return this;
}
/**
*
* The weekly time range (in UTC) during which system maintenance can occur,
* which might result in an outage. Changing this parameter does not result
* in an outage, except in the following situation, and the change is
* asynchronously applied as soon as possible. If moving this window to the
* current time, there must be at least 30 minutes between the current time
* and end of the window to ensure pending changes are applied.
*
*
* Default: Uses existing setting
*
*
* Format: ddd:hh24:mi-ddd:hh24:mi
*
*
* Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
*
*
* Constraints: Must be at least 30 minutes
*
*
* @param preferredMaintenanceWindow
* The weekly time range (in UTC) during which system maintenance can
* occur, which might result in an outage. Changing this parameter
* does not result in an outage, except in the following situation,
* and the change is asynchronously applied as soon as possible. If
* moving this window to the current time, there must be at least 30
* minutes between the current time and end of the window to ensure
* pending changes are applied.
*
* Default: Uses existing setting
*
*
* Format: ddd:hh24:mi-ddd:hh24:mi
*
*
* Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
*
*
* Constraints: Must be at least 30 minutes
*/
public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow) {
this.preferredMaintenanceWindow = preferredMaintenanceWindow;
}
/**
*
* The weekly time range (in UTC) during which system maintenance can occur,
* which might result in an outage. Changing this parameter does not result
* in an outage, except in the following situation, and the change is
* asynchronously applied as soon as possible. If moving this window to the
* current time, there must be at least 30 minutes between the current time
* and end of the window to ensure pending changes are applied.
*
*
* Default: Uses existing setting
*
*
* Format: ddd:hh24:mi-ddd:hh24:mi
*
*
* Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
*
*
* Constraints: Must be at least 30 minutes
*
*
* @return The weekly time range (in UTC) during which system maintenance
* can occur, which might result in an outage. Changing this
* parameter does not result in an outage, except in the following
* situation, and the change is asynchronously applied as soon as
* possible. If moving this window to the current time, there must
* be at least 30 minutes between the current time and end of the
* window to ensure pending changes are applied.
*
* Default: Uses existing setting
*
*
* Format: ddd:hh24:mi-ddd:hh24:mi
*
*
* Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
*
*
* Constraints: Must be at least 30 minutes
*/
public String getPreferredMaintenanceWindow() {
return this.preferredMaintenanceWindow;
}
/**
*
* The weekly time range (in UTC) during which system maintenance can occur,
* which might result in an outage. Changing this parameter does not result
* in an outage, except in the following situation, and the change is
* asynchronously applied as soon as possible. If moving this window to the
* current time, there must be at least 30 minutes between the current time
* and end of the window to ensure pending changes are applied.
*
*
* Default: Uses existing setting
*
*
* Format: ddd:hh24:mi-ddd:hh24:mi
*
*
* Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
*
*
* Constraints: Must be at least 30 minutes
*
*
* @param preferredMaintenanceWindow
* The weekly time range (in UTC) during which system maintenance can
* occur, which might result in an outage. Changing this parameter
* does not result in an outage, except in the following situation,
* and the change is asynchronously applied as soon as possible. If
* moving this window to the current time, there must be at least 30
* minutes between the current time and end of the window to ensure
* pending changes are applied.
*
* Default: Uses existing setting
*
*
* Format: ddd:hh24:mi-ddd:hh24:mi
*
*
* Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
*
*
* Constraints: Must be at least 30 minutes
* @return Returns a reference to this object so that method calls can be
* chained together.
*/
public ModifyReplicationInstanceRequest withPreferredMaintenanceWindow(
String preferredMaintenanceWindow) {
setPreferredMaintenanceWindow(preferredMaintenanceWindow);
return this;
}
/**
*
* The engine version number of the replication instance.
*
*
* @param engineVersion
* The engine version number of the replication instance.
*/
public void setEngineVersion(String engineVersion) {
this.engineVersion = engineVersion;
}
/**
*
* The engine version number of the replication instance.
*
*
* @return The engine version number of the replication instance.
*/
public String getEngineVersion() {
return this.engineVersion;
}
/**
*
* The engine version number of the replication instance.
*
*
* @param engineVersion
* The engine version number of the replication instance.
* @return Returns a reference to this object so that method calls can be
* chained together.
*/
public ModifyReplicationInstanceRequest withEngineVersion(
String engineVersion) {
setEngineVersion(engineVersion);
return this;
}
/**
*
* Indicates that major version upgrades are allowed. Changing this
* parameter does not result in an outage and the change is asynchronously
* applied as soon as possible.
*
*
* Constraints: This parameter must be set to true when specifying a value
* for the EngineVersion
parameter that is a different major
* version than the replication instance's current version.
*
*
* @param allowMajorVersionUpgrade
* Indicates that major version upgrades are allowed. Changing this
* parameter does not result in an outage and the change is
* asynchronously applied as soon as possible.
*
* Constraints: This parameter must be set to true when specifying a
* value for the EngineVersion
parameter that is a
* different major version than the replication instance's current
* version.
*/
public void setAllowMajorVersionUpgrade(Boolean allowMajorVersionUpgrade) {
this.allowMajorVersionUpgrade = allowMajorVersionUpgrade;
}
/**
*
* Indicates that major version upgrades are allowed. Changing this
* parameter does not result in an outage and the change is asynchronously
* applied as soon as possible.
*
*
* Constraints: This parameter must be set to true when specifying a value
* for the EngineVersion
parameter that is a different major
* version than the replication instance's current version.
*
*
* @return Indicates that major version upgrades are allowed. Changing this
* parameter does not result in an outage and the change is
* asynchronously applied as soon as possible.
*
* Constraints: This parameter must be set to true when specifying a
* value for the EngineVersion
parameter that is a
* different major version than the replication instance's current
* version.
*/
public Boolean getAllowMajorVersionUpgrade() {
return this.allowMajorVersionUpgrade;
}
/**
*
* Indicates that major version upgrades are allowed. Changing this
* parameter does not result in an outage and the change is asynchronously
* applied as soon as possible.
*
*
* Constraints: This parameter must be set to true when specifying a value
* for the EngineVersion
parameter that is a different major
* version than the replication instance's current version.
*
*
* @param allowMajorVersionUpgrade
* Indicates that major version upgrades are allowed. Changing this
* parameter does not result in an outage and the change is
* asynchronously applied as soon as possible.
*
* Constraints: This parameter must be set to true when specifying a
* value for the EngineVersion
parameter that is a
* different major version than the replication instance's current
* version.
* @return Returns a reference to this object so that method calls can be
* chained together.
*/
public ModifyReplicationInstanceRequest withAllowMajorVersionUpgrade(
Boolean allowMajorVersionUpgrade) {
setAllowMajorVersionUpgrade(allowMajorVersionUpgrade);
return this;
}
/**
*
* Indicates that major version upgrades are allowed. Changing this
* parameter does not result in an outage and the change is asynchronously
* applied as soon as possible.
*
*
* Constraints: This parameter must be set to true when specifying a value
* for the EngineVersion
parameter that is a different major
* version than the replication instance's current version.
*
*
* @return Indicates that major version upgrades are allowed. Changing this
* parameter does not result in an outage and the change is
* asynchronously applied as soon as possible.
*
* Constraints: This parameter must be set to true when specifying a
* value for the EngineVersion
parameter that is a
* different major version than the replication instance's current
* version.
*/
public Boolean isAllowMajorVersionUpgrade() {
return this.allowMajorVersionUpgrade;
}
/**
*
* Indicates that minor version upgrades will be applied automatically to
* the replication instance during the maintenance window. Changing this
* parameter does not result in an outage except in the following case and
* the change is asynchronously applied as soon as possible. An outage will
* result if this parameter is set to true
during the
* maintenance window, and a newer minor version is available, and AWS DMS
* has enabled auto patching for that engine version.
*
*
* @param autoMinorVersionUpgrade
* Indicates that minor version upgrades will be applied
* automatically to the replication instance during the maintenance
* window. Changing this parameter does not result in an outage
* except in the following case and the change is asynchronously
* applied as soon as possible. An outage will result if this
* parameter is set to true
during the maintenance
* window, and a newer minor version is available, and AWS DMS has
* enabled auto patching for that engine version.
*/
public void setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade) {
this.autoMinorVersionUpgrade = autoMinorVersionUpgrade;
}
/**
*
* Indicates that minor version upgrades will be applied automatically to
* the replication instance during the maintenance window. Changing this
* parameter does not result in an outage except in the following case and
* the change is asynchronously applied as soon as possible. An outage will
* result if this parameter is set to true
during the
* maintenance window, and a newer minor version is available, and AWS DMS
* has enabled auto patching for that engine version.
*
*
* @return Indicates that minor version upgrades will be applied
* automatically to the replication instance during the maintenance
* window. Changing this parameter does not result in an outage
* except in the following case and the change is asynchronously
* applied as soon as possible. An outage will result if this
* parameter is set to true
during the maintenance
* window, and a newer minor version is available, and AWS DMS has
* enabled auto patching for that engine version.
*/
public Boolean getAutoMinorVersionUpgrade() {
return this.autoMinorVersionUpgrade;
}
/**
*
* Indicates that minor version upgrades will be applied automatically to
* the replication instance during the maintenance window. Changing this
* parameter does not result in an outage except in the following case and
* the change is asynchronously applied as soon as possible. An outage will
* result if this parameter is set to true
during the
* maintenance window, and a newer minor version is available, and AWS DMS
* has enabled auto patching for that engine version.
*
*
* @param autoMinorVersionUpgrade
* Indicates that minor version upgrades will be applied
* automatically to the replication instance during the maintenance
* window. Changing this parameter does not result in an outage
* except in the following case and the change is asynchronously
* applied as soon as possible. An outage will result if this
* parameter is set to true
during the maintenance
* window, and a newer minor version is available, and AWS DMS has
* enabled auto patching for that engine version.
* @return Returns a reference to this object so that method calls can be
* chained together.
*/
public ModifyReplicationInstanceRequest withAutoMinorVersionUpgrade(
Boolean autoMinorVersionUpgrade) {
setAutoMinorVersionUpgrade(autoMinorVersionUpgrade);
return this;
}
/**
*
* Indicates that minor version upgrades will be applied automatically to
* the replication instance during the maintenance window. Changing this
* parameter does not result in an outage except in the following case and
* the change is asynchronously applied as soon as possible. An outage will
* result if this parameter is set to true
during the
* maintenance window, and a newer minor version is available, and AWS DMS
* has enabled auto patching for that engine version.
*
*
* @return Indicates that minor version upgrades will be applied
* automatically to the replication instance during the maintenance
* window. Changing this parameter does not result in an outage
* except in the following case and the change is asynchronously
* applied as soon as possible. An outage will result if this
* parameter is set to true
during the maintenance
* window, and a newer minor version is available, and AWS DMS has
* enabled auto patching for that engine version.
*/
public Boolean isAutoMinorVersionUpgrade() {
return this.autoMinorVersionUpgrade;
}
/**
*
* The replication instance identifier. This parameter is stored as a
* lowercase string.
*
*
* @param replicationInstanceIdentifier
* The replication instance identifier. This parameter is stored as a
* lowercase string.
*/
public void setReplicationInstanceIdentifier(
String replicationInstanceIdentifier) {
this.replicationInstanceIdentifier = replicationInstanceIdentifier;
}
/**
*
* The replication instance identifier. This parameter is stored as a
* lowercase string.
*
*
* @return The replication instance identifier. This parameter is stored as
* a lowercase string.
*/
public String getReplicationInstanceIdentifier() {
return this.replicationInstanceIdentifier;
}
/**
*
* The replication instance identifier. This parameter is stored as a
* lowercase string.
*
*
* @param replicationInstanceIdentifier
* The replication instance identifier. This parameter is stored as a
* lowercase string.
* @return Returns a reference to this object so that method calls can be
* chained together.
*/
public ModifyReplicationInstanceRequest withReplicationInstanceIdentifier(
String replicationInstanceIdentifier) {
setReplicationInstanceIdentifier(replicationInstanceIdentifier);
return this;
}
/**
* Returns a string representation of this object; useful for testing and
* debugging.
*
* @return A string representation of this object.
*
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getReplicationInstanceArn() != null)
sb.append("ReplicationInstanceArn: " + getReplicationInstanceArn()
+ ",");
if (getAllocatedStorage() != null)
sb.append("AllocatedStorage: " + getAllocatedStorage() + ",");
if (getApplyImmediately() != null)
sb.append("ApplyImmediately: " + getApplyImmediately() + ",");
if (getReplicationInstanceClass() != null)
sb.append("ReplicationInstanceClass: "
+ getReplicationInstanceClass() + ",");
if (getPreferredMaintenanceWindow() != null)
sb.append("PreferredMaintenanceWindow: "
+ getPreferredMaintenanceWindow() + ",");
if (getEngineVersion() != null)
sb.append("EngineVersion: " + getEngineVersion() + ",");
if (getAllowMajorVersionUpgrade() != null)
sb.append("AllowMajorVersionUpgrade: "
+ getAllowMajorVersionUpgrade() + ",");
if (getAutoMinorVersionUpgrade() != null)
sb.append("AutoMinorVersionUpgrade: "
+ getAutoMinorVersionUpgrade() + ",");
if (getReplicationInstanceIdentifier() != null)
sb.append("ReplicationInstanceIdentifier: "
+ getReplicationInstanceIdentifier());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof ModifyReplicationInstanceRequest == false)
return false;
ModifyReplicationInstanceRequest other = (ModifyReplicationInstanceRequest) obj;
if (other.getReplicationInstanceArn() == null
^ this.getReplicationInstanceArn() == null)
return false;
if (other.getReplicationInstanceArn() != null
&& other.getReplicationInstanceArn().equals(
this.getReplicationInstanceArn()) == false)
return false;
if (other.getAllocatedStorage() == null
^ this.getAllocatedStorage() == null)
return false;
if (other.getAllocatedStorage() != null
&& other.getAllocatedStorage().equals(
this.getAllocatedStorage()) == false)
return false;
if (other.getApplyImmediately() == null
^ this.getApplyImmediately() == null)
return false;
if (other.getApplyImmediately() != null
&& other.getApplyImmediately().equals(
this.getApplyImmediately()) == false)
return false;
if (other.getReplicationInstanceClass() == null
^ this.getReplicationInstanceClass() == null)
return false;
if (other.getReplicationInstanceClass() != null
&& other.getReplicationInstanceClass().equals(
this.getReplicationInstanceClass()) == false)
return false;
if (other.getPreferredMaintenanceWindow() == null
^ this.getPreferredMaintenanceWindow() == null)
return false;
if (other.getPreferredMaintenanceWindow() != null
&& other.getPreferredMaintenanceWindow().equals(
this.getPreferredMaintenanceWindow()) == false)
return false;
if (other.getEngineVersion() == null ^ this.getEngineVersion() == null)
return false;
if (other.getEngineVersion() != null
&& other.getEngineVersion().equals(this.getEngineVersion()) == false)
return false;
if (other.getAllowMajorVersionUpgrade() == null
^ this.getAllowMajorVersionUpgrade() == null)
return false;
if (other.getAllowMajorVersionUpgrade() != null
&& other.getAllowMajorVersionUpgrade().equals(
this.getAllowMajorVersionUpgrade()) == false)
return false;
if (other.getAutoMinorVersionUpgrade() == null
^ this.getAutoMinorVersionUpgrade() == null)
return false;
if (other.getAutoMinorVersionUpgrade() != null
&& other.getAutoMinorVersionUpgrade().equals(
this.getAutoMinorVersionUpgrade()) == false)
return false;
if (other.getReplicationInstanceIdentifier() == null
^ this.getReplicationInstanceIdentifier() == null)
return false;
if (other.getReplicationInstanceIdentifier() != null
&& other.getReplicationInstanceIdentifier().equals(
this.getReplicationInstanceIdentifier()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime
* hashCode
+ ((getReplicationInstanceArn() == null) ? 0
: getReplicationInstanceArn().hashCode());
hashCode = prime
* hashCode
+ ((getAllocatedStorage() == null) ? 0 : getAllocatedStorage()
.hashCode());
hashCode = prime
* hashCode
+ ((getApplyImmediately() == null) ? 0 : getApplyImmediately()
.hashCode());
hashCode = prime
* hashCode
+ ((getReplicationInstanceClass() == null) ? 0
: getReplicationInstanceClass().hashCode());
hashCode = prime
* hashCode
+ ((getPreferredMaintenanceWindow() == null) ? 0
: getPreferredMaintenanceWindow().hashCode());
hashCode = prime
* hashCode
+ ((getEngineVersion() == null) ? 0 : getEngineVersion()
.hashCode());
hashCode = prime
* hashCode
+ ((getAllowMajorVersionUpgrade() == null) ? 0
: getAllowMajorVersionUpgrade().hashCode());
hashCode = prime
* hashCode
+ ((getAutoMinorVersionUpgrade() == null) ? 0
: getAutoMinorVersionUpgrade().hashCode());
hashCode = prime
* hashCode
+ ((getReplicationInstanceIdentifier() == null) ? 0
: getReplicationInstanceIdentifier().hashCode());
return hashCode;
}
@Override
public ModifyReplicationInstanceRequest clone() {
return (ModifyReplicationInstanceRequest) super.clone();
}
}