@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyReplicationInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ModifyReplicationInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyReplicationInstanceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getAllocatedStorage()
The amount of storage (in gigabytes) to be allocated for the replication instance.
|
Boolean |
getAllowMajorVersionUpgrade()
Indicates that major version upgrades are allowed.
|
Boolean |
getApplyImmediately()
Indicates whether the changes should be applied immediately or during the next maintenance window.
|
Boolean |
getAutoMinorVersionUpgrade()
A value that indicates that minor version upgrades are applied automatically to the replication instance during
the maintenance window.
|
String |
getEngineVersion()
The engine version number of the replication instance.
|
Boolean |
getMultiAZ()
Specifies whether the replication instance is a Multi-AZ deployment.
|
String |
getNetworkType()
The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that supports
both IPv4 and IPv6 addressing.
|
String |
getPreferredMaintenanceWindow()
The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage.
|
String |
getReplicationInstanceArn()
The Amazon Resource Name (ARN) of the replication instance.
|
String |
getReplicationInstanceClass()
The compute and memory capacity of the replication instance as defined for the specified replication instance
class.
|
String |
getReplicationInstanceIdentifier()
The replication instance identifier.
|
List<String> |
getVpcSecurityGroupIds()
Specifies the VPC security group to be used with the replication instance.
|
int |
hashCode() |
Boolean |
isAllowMajorVersionUpgrade()
Indicates that major version upgrades are allowed.
|
Boolean |
isApplyImmediately()
Indicates whether the changes should be applied immediately or during the next maintenance window.
|
Boolean |
isAutoMinorVersionUpgrade()
A value that indicates that minor version upgrades are applied automatically to the replication instance during
the maintenance window.
|
Boolean |
isMultiAZ()
Specifies whether the replication instance is a Multi-AZ deployment.
|
void |
setAllocatedStorage(Integer allocatedStorage)
The amount of storage (in gigabytes) to be allocated for the replication instance.
|
void |
setAllowMajorVersionUpgrade(Boolean allowMajorVersionUpgrade)
Indicates that major version upgrades are allowed.
|
void |
setApplyImmediately(Boolean applyImmediately)
Indicates whether the changes should be applied immediately or during the next maintenance window.
|
void |
setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
A value that indicates that minor version upgrades are applied automatically to the replication instance during
the maintenance window.
|
void |
setEngineVersion(String engineVersion)
The engine version number of the replication instance.
|
void |
setMultiAZ(Boolean multiAZ)
Specifies whether the replication instance is a Multi-AZ deployment.
|
void |
setNetworkType(String networkType)
The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that supports
both IPv4 and IPv6 addressing.
|
void |
setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage.
|
void |
setReplicationInstanceArn(String replicationInstanceArn)
The Amazon Resource Name (ARN) of the replication instance.
|
void |
setReplicationInstanceClass(String replicationInstanceClass)
The compute and memory capacity of the replication instance as defined for the specified replication instance
class.
|
void |
setReplicationInstanceIdentifier(String replicationInstanceIdentifier)
The replication instance identifier.
|
void |
setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
Specifies the VPC security group to be used with the replication instance.
|
String |
toString()
Returns a string representation of this object.
|
ModifyReplicationInstanceRequest |
withAllocatedStorage(Integer allocatedStorage)
The amount of storage (in gigabytes) to be allocated for the replication instance.
|
ModifyReplicationInstanceRequest |
withAllowMajorVersionUpgrade(Boolean allowMajorVersionUpgrade)
Indicates that major version upgrades are allowed.
|
ModifyReplicationInstanceRequest |
withApplyImmediately(Boolean applyImmediately)
Indicates whether the changes should be applied immediately or during the next maintenance window.
|
ModifyReplicationInstanceRequest |
withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
A value that indicates that minor version upgrades are applied automatically to the replication instance during
the maintenance window.
|
ModifyReplicationInstanceRequest |
withEngineVersion(String engineVersion)
The engine version number of the replication instance.
|
ModifyReplicationInstanceRequest |
withMultiAZ(Boolean multiAZ)
Specifies whether the replication instance is a Multi-AZ deployment.
|
ModifyReplicationInstanceRequest |
withNetworkType(String networkType)
The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that supports
both IPv4 and IPv6 addressing.
|
ModifyReplicationInstanceRequest |
withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage.
|
ModifyReplicationInstanceRequest |
withReplicationInstanceArn(String replicationInstanceArn)
The Amazon Resource Name (ARN) of the replication instance.
|
ModifyReplicationInstanceRequest |
withReplicationInstanceClass(String replicationInstanceClass)
The compute and memory capacity of the replication instance as defined for the specified replication instance
class.
|
ModifyReplicationInstanceRequest |
withReplicationInstanceIdentifier(String replicationInstanceIdentifier)
The replication instance identifier.
|
ModifyReplicationInstanceRequest |
withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
Specifies the VPC security group to be used with the replication instance.
|
ModifyReplicationInstanceRequest |
withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
Specifies the VPC security group to be used with the replication instance.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setReplicationInstanceArn(String replicationInstanceArn)
The Amazon Resource Name (ARN) of the replication instance.
replicationInstanceArn
- The Amazon Resource Name (ARN) of the replication instance.public String getReplicationInstanceArn()
The Amazon Resource Name (ARN) of the replication instance.
public ModifyReplicationInstanceRequest withReplicationInstanceArn(String replicationInstanceArn)
The Amazon Resource Name (ARN) of the replication instance.
replicationInstanceArn
- The Amazon Resource Name (ARN) of the replication instance.public void setAllocatedStorage(Integer allocatedStorage)
The amount of storage (in gigabytes) to be allocated for the replication instance.
allocatedStorage
- The amount of storage (in gigabytes) to be allocated for the replication instance.public Integer getAllocatedStorage()
The amount of storage (in gigabytes) to be allocated for the replication instance.
public ModifyReplicationInstanceRequest withAllocatedStorage(Integer allocatedStorage)
The amount of storage (in gigabytes) to be allocated for the replication instance.
allocatedStorage
- The amount of storage (in gigabytes) to be allocated for the replication instance.public void setApplyImmediately(Boolean applyImmediately)
Indicates whether the changes should be applied immediately or during the next maintenance window.
applyImmediately
- Indicates whether the changes should be applied immediately or during the next maintenance window.public Boolean getApplyImmediately()
Indicates whether the changes should be applied immediately or during the next maintenance window.
public ModifyReplicationInstanceRequest withApplyImmediately(Boolean applyImmediately)
Indicates whether the changes should be applied immediately or during the next maintenance window.
applyImmediately
- Indicates whether the changes should be applied immediately or during the next maintenance window.public Boolean isApplyImmediately()
Indicates whether the changes should be applied immediately or during the next maintenance window.
public void setReplicationInstanceClass(String replicationInstanceClass)
The compute and memory capacity of the replication instance as defined for the specified replication instance
class. For example to specify the instance class dms.c4.large, set this parameter to "dms.c4.large"
.
For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration.
replicationInstanceClass
- The compute and memory capacity of the replication instance as defined for the specified replication
instance class. For example to specify the instance class dms.c4.large, set this parameter to
"dms.c4.large"
.
For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration.
public String getReplicationInstanceClass()
The compute and memory capacity of the replication instance as defined for the specified replication instance
class. For example to specify the instance class dms.c4.large, set this parameter to "dms.c4.large"
.
For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration.
"dms.c4.large"
.
For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration.
public ModifyReplicationInstanceRequest withReplicationInstanceClass(String replicationInstanceClass)
The compute and memory capacity of the replication instance as defined for the specified replication instance
class. For example to specify the instance class dms.c4.large, set this parameter to "dms.c4.large"
.
For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration.
replicationInstanceClass
- The compute and memory capacity of the replication instance as defined for the specified replication
instance class. For example to specify the instance class dms.c4.large, set this parameter to
"dms.c4.large"
.
For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration.
public List<String> getVpcSecurityGroupIds()
Specifies the VPC security group to be used with the replication instance. The VPC security group must work with the VPC containing the replication instance.
public void setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
Specifies the VPC security group to be used with the replication instance. The VPC security group must work with the VPC containing the replication instance.
vpcSecurityGroupIds
- Specifies the VPC security group to be used with the replication instance. The VPC security group must
work with the VPC containing the replication instance.public ModifyReplicationInstanceRequest withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
Specifies the VPC security group to be used with the replication instance. The VPC security group must work with the VPC containing the replication instance.
NOTE: This method appends the values to the existing list (if any). Use
setVpcSecurityGroupIds(java.util.Collection)
or withVpcSecurityGroupIds(java.util.Collection)
if you want to override the existing values.
vpcSecurityGroupIds
- Specifies the VPC security group to be used with the replication instance. The VPC security group must
work with the VPC containing the replication instance.public ModifyReplicationInstanceRequest withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
Specifies the VPC security group to be used with the replication instance. The VPC security group must work with the VPC containing the replication instance.
vpcSecurityGroupIds
- Specifies the VPC security group to be used with the replication instance. The VPC security group must
work with the VPC containing the replication instance.public void setPreferredMaintenanceWindow(String 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
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 String getPreferredMaintenanceWindow()
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
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 ModifyReplicationInstanceRequest withPreferredMaintenanceWindow(String 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
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 setMultiAZ(Boolean multiAZ)
Specifies whether the replication instance is a Multi-AZ deployment. You can't set the
AvailabilityZone
parameter if the Multi-AZ parameter is set to true
.
multiAZ
- Specifies whether the replication instance is a Multi-AZ deployment. You can't set the
AvailabilityZone
parameter if the Multi-AZ parameter is set to true
.public Boolean getMultiAZ()
Specifies whether the replication instance is a Multi-AZ deployment. You can't set the
AvailabilityZone
parameter if the Multi-AZ parameter is set to true
.
AvailabilityZone
parameter if the Multi-AZ parameter is set to true
.public ModifyReplicationInstanceRequest withMultiAZ(Boolean multiAZ)
Specifies whether the replication instance is a Multi-AZ deployment. You can't set the
AvailabilityZone
parameter if the Multi-AZ parameter is set to true
.
multiAZ
- Specifies whether the replication instance is a Multi-AZ deployment. You can't set the
AvailabilityZone
parameter if the Multi-AZ parameter is set to true
.public Boolean isMultiAZ()
Specifies whether the replication instance is a Multi-AZ deployment. You can't set the
AvailabilityZone
parameter if the Multi-AZ parameter is set to true
.
AvailabilityZone
parameter if the Multi-AZ parameter is set to true
.public void setEngineVersion(String engineVersion)
The engine version number of the replication instance.
When modifying a major engine version of an instance, also set AllowMajorVersionUpgrade
to
true
.
engineVersion
- The engine version number of the replication instance.
When modifying a major engine version of an instance, also set AllowMajorVersionUpgrade
to
true
.
public String getEngineVersion()
The engine version number of the replication instance.
When modifying a major engine version of an instance, also set AllowMajorVersionUpgrade
to
true
.
When modifying a major engine version of an instance, also set AllowMajorVersionUpgrade
to
true
.
public ModifyReplicationInstanceRequest withEngineVersion(String engineVersion)
The engine version number of the replication instance.
When modifying a major engine version of an instance, also set AllowMajorVersionUpgrade
to
true
.
engineVersion
- The engine version number of the replication instance.
When modifying a major engine version of an instance, also set AllowMajorVersionUpgrade
to
true
.
public void setAllowMajorVersionUpgrade(Boolean 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.
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.
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.
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()
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.
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.
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 ModifyReplicationInstanceRequest withAllowMajorVersionUpgrade(Boolean 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.
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.
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.
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()
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.
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.
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 setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
A value that indicates that minor version upgrades are applied automatically to the replication instance during the maintenance window. Changing this parameter doesn't result in an outage, except in the case described following. The change is asynchronously applied as soon as possible.
An outage does result if these factors apply:
This parameter is set to true
during the maintenance window.
A newer minor version is available.
DMS has enabled automatic patching for the given engine version.
autoMinorVersionUpgrade
- A value that indicates that minor version upgrades are applied automatically to the replication instance
during the maintenance window. Changing this parameter doesn't result in an outage, except in the case
described following. The change is asynchronously applied as soon as possible.
An outage does result if these factors apply:
This parameter is set to true
during the maintenance window.
A newer minor version is available.
DMS has enabled automatic patching for the given engine version.
public Boolean getAutoMinorVersionUpgrade()
A value that indicates that minor version upgrades are applied automatically to the replication instance during the maintenance window. Changing this parameter doesn't result in an outage, except in the case described following. The change is asynchronously applied as soon as possible.
An outage does result if these factors apply:
This parameter is set to true
during the maintenance window.
A newer minor version is available.
DMS has enabled automatic patching for the given engine version.
An outage does result if these factors apply:
This parameter is set to true
during the maintenance window.
A newer minor version is available.
DMS has enabled automatic patching for the given engine version.
public ModifyReplicationInstanceRequest withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
A value that indicates that minor version upgrades are applied automatically to the replication instance during the maintenance window. Changing this parameter doesn't result in an outage, except in the case described following. The change is asynchronously applied as soon as possible.
An outage does result if these factors apply:
This parameter is set to true
during the maintenance window.
A newer minor version is available.
DMS has enabled automatic patching for the given engine version.
autoMinorVersionUpgrade
- A value that indicates that minor version upgrades are applied automatically to the replication instance
during the maintenance window. Changing this parameter doesn't result in an outage, except in the case
described following. The change is asynchronously applied as soon as possible.
An outage does result if these factors apply:
This parameter is set to true
during the maintenance window.
A newer minor version is available.
DMS has enabled automatic patching for the given engine version.
public Boolean isAutoMinorVersionUpgrade()
A value that indicates that minor version upgrades are applied automatically to the replication instance during the maintenance window. Changing this parameter doesn't result in an outage, except in the case described following. The change is asynchronously applied as soon as possible.
An outage does result if these factors apply:
This parameter is set to true
during the maintenance window.
A newer minor version is available.
DMS has enabled automatic patching for the given engine version.
An outage does result if these factors apply:
This parameter is set to true
during the maintenance window.
A newer minor version is available.
DMS has enabled automatic patching for the given engine version.
public void setReplicationInstanceIdentifier(String replicationInstanceIdentifier)
The replication instance identifier. This parameter is stored as a lowercase string.
replicationInstanceIdentifier
- The replication instance identifier. This parameter is stored as a lowercase string.public String getReplicationInstanceIdentifier()
The replication instance identifier. This parameter is stored as a lowercase string.
public ModifyReplicationInstanceRequest withReplicationInstanceIdentifier(String replicationInstanceIdentifier)
The replication instance identifier. This parameter is stored as a lowercase string.
replicationInstanceIdentifier
- The replication instance identifier. This parameter is stored as a lowercase string.public void setNetworkType(String networkType)
The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
networkType
- The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that
supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.public String getNetworkType()
The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
public ModifyReplicationInstanceRequest withNetworkType(String networkType)
The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
networkType
- The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that
supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.public String toString()
toString
in class Object
Object.toString()
public ModifyReplicationInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()