Class ModifyReplicationInstanceRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.databasemigrationservice.model.ModifyReplicationInstanceRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class ModifyReplicationInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ModifyReplicationInstanceRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModifyReplicationInstanceRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)IntegergetAllocatedStorage()The amount of storage (in gigabytes) to be allocated for the replication instance.BooleangetAllowMajorVersionUpgrade()Indicates that major version upgrades are allowed.BooleangetApplyImmediately()Indicates whether the changes should be applied immediately or during the next maintenance window.BooleangetAutoMinorVersionUpgrade()Indicates that minor version upgrades will be applied automatically to the replication instance during the maintenance window.StringgetEngineVersion()The engine version number of the replication instance.StringgetPreferredMaintenanceWindow()The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage.StringgetReplicationInstanceArn()The Amazon Resource Name (ARN) of the replication instance.StringgetReplicationInstanceClass()The compute and memory capacity of the replication instance.StringgetReplicationInstanceIdentifier()The replication instance identifier.inthashCode()BooleanisAllowMajorVersionUpgrade()Indicates that major version upgrades are allowed.BooleanisApplyImmediately()Indicates whether the changes should be applied immediately or during the next maintenance window.BooleanisAutoMinorVersionUpgrade()Indicates that minor version upgrades will be applied automatically to the replication instance during the maintenance window.voidsetAllocatedStorage(Integer allocatedStorage)The amount of storage (in gigabytes) to be allocated for the replication instance.voidsetAllowMajorVersionUpgrade(Boolean allowMajorVersionUpgrade)Indicates that major version upgrades are allowed.voidsetApplyImmediately(Boolean applyImmediately)Indicates whether the changes should be applied immediately or during the next maintenance window.voidsetAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)Indicates that minor version upgrades will be applied automatically to the replication instance during the maintenance window.voidsetEngineVersion(String engineVersion)The engine version number of the replication instance.voidsetPreferredMaintenanceWindow(String preferredMaintenanceWindow)The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage.voidsetReplicationInstanceArn(String replicationInstanceArn)The Amazon Resource Name (ARN) of the replication instance.voidsetReplicationInstanceClass(String replicationInstanceClass)The compute and memory capacity of the replication instance.voidsetReplicationInstanceIdentifier(String replicationInstanceIdentifier)The replication instance identifier.StringtoString()Returns a string representation of this object; useful for testing and debugging.ModifyReplicationInstanceRequestwithAllocatedStorage(Integer allocatedStorage)The amount of storage (in gigabytes) to be allocated for the replication instance.ModifyReplicationInstanceRequestwithAllowMajorVersionUpgrade(Boolean allowMajorVersionUpgrade)Indicates that major version upgrades are allowed.ModifyReplicationInstanceRequestwithApplyImmediately(Boolean applyImmediately)Indicates whether the changes should be applied immediately or during the next maintenance window.ModifyReplicationInstanceRequestwithAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)Indicates that minor version upgrades will be applied automatically to the replication instance during the maintenance window.ModifyReplicationInstanceRequestwithEngineVersion(String engineVersion)The engine version number of the replication instance.ModifyReplicationInstanceRequestwithPreferredMaintenanceWindow(String preferredMaintenanceWindow)The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage.ModifyReplicationInstanceRequestwithReplicationInstanceArn(String replicationInstanceArn)The Amazon Resource Name (ARN) of the replication instance.ModifyReplicationInstanceRequestwithReplicationInstanceClass(String replicationInstanceClass)The compute and memory capacity of the replication instance.ModifyReplicationInstanceRequestwithReplicationInstanceIdentifier(String replicationInstanceIdentifier)The replication instance identifier.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setReplicationInstanceArn
public void setReplicationInstanceArn(String replicationInstanceArn)
The Amazon Resource Name (ARN) of the replication instance.
- Parameters:
replicationInstanceArn- The Amazon Resource Name (ARN) of the replication instance.
-
getReplicationInstanceArn
public String getReplicationInstanceArn()
The Amazon Resource Name (ARN) of the replication instance.
- Returns:
- The Amazon Resource Name (ARN) of the replication instance.
-
withReplicationInstanceArn
public ModifyReplicationInstanceRequest withReplicationInstanceArn(String replicationInstanceArn)
The Amazon Resource Name (ARN) of the replication instance.
- Parameters:
replicationInstanceArn- The Amazon Resource Name (ARN) of the replication instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAllocatedStorage
public void setAllocatedStorage(Integer allocatedStorage)
The amount of storage (in gigabytes) to be allocated for the replication instance.
- Parameters:
allocatedStorage- The amount of storage (in gigabytes) to be allocated for the replication instance.
-
getAllocatedStorage
public Integer getAllocatedStorage()
The amount of storage (in gigabytes) to be allocated for the replication instance.
- Returns:
- The amount of storage (in gigabytes) to be allocated for the replication instance.
-
withAllocatedStorage
public ModifyReplicationInstanceRequest withAllocatedStorage(Integer allocatedStorage)
The amount of storage (in gigabytes) to be allocated for the replication instance.
- Parameters:
allocatedStorage- The amount of storage (in gigabytes) to be allocated for the replication instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setApplyImmediately
public void setApplyImmediately(Boolean applyImmediately)
Indicates whether the changes should be applied immediately or during the next maintenance window.
- Parameters:
applyImmediately- Indicates whether the changes should be applied immediately or during the next maintenance window.
-
getApplyImmediately
public Boolean getApplyImmediately()
Indicates whether the changes should be applied immediately or during the next maintenance window.
- Returns:
- Indicates whether the changes should be applied immediately or during the next maintenance window.
-
withApplyImmediately
public ModifyReplicationInstanceRequest withApplyImmediately(Boolean applyImmediately)
Indicates whether the changes should be applied immediately or during the next maintenance window.
- Parameters:
applyImmediately- Indicates whether the changes should be applied immediately or during the next maintenance window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isApplyImmediately
public Boolean isApplyImmediately()
Indicates whether the changes should be applied immediately or during the next maintenance window.
- Returns:
- Indicates whether the changes should be applied immediately or during the next maintenance window.
-
setReplicationInstanceClass
public void setReplicationInstanceClass(String 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- Parameters:
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
-
getReplicationInstanceClass
public String getReplicationInstanceClass()
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- Returns:
- 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
-
withReplicationInstanceClass
public ModifyReplicationInstanceRequest withReplicationInstanceClass(String 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- Parameters:
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- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPreferredMaintenanceWindow
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
- Parameters:
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
-
getPreferredMaintenanceWindow
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
- Returns:
- 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
-
withPreferredMaintenanceWindow
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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEngineVersion
public void setEngineVersion(String engineVersion)
The engine version number of the replication instance.
- Parameters:
engineVersion- The engine version number of the replication instance.
-
getEngineVersion
public String getEngineVersion()
The engine version number of the replication instance.
- Returns:
- The engine version number of the replication instance.
-
withEngineVersion
public ModifyReplicationInstanceRequest withEngineVersion(String engineVersion)
The engine version number of the replication instance.
- Parameters:
engineVersion- The engine version number of the replication instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAllowMajorVersionUpgrade
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.
Constraints: This parameter must be set to true when specifying a value for the
EngineVersionparameter that is a different major version than the replication instance's current version.- Parameters:
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
EngineVersionparameter that is a different major version than the replication instance's current version.
-
getAllowMajorVersionUpgrade
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.
Constraints: This parameter must be set to true when specifying a value for the
EngineVersionparameter that is a different major version than the replication instance's current version.- Returns:
- 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
EngineVersionparameter that is a different major version than the replication instance's current version.
-
withAllowMajorVersionUpgrade
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.
Constraints: This parameter must be set to true when specifying a value for the
EngineVersionparameter that is a different major version than the replication instance's current version.- Parameters:
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
EngineVersionparameter that is a different major version than the replication instance's current version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAllowMajorVersionUpgrade
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.
Constraints: This parameter must be set to true when specifying a value for the
EngineVersionparameter that is a different major version than the replication instance's current version.- Returns:
- 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
EngineVersionparameter that is a different major version than the replication instance's current version.
-
setAutoMinorVersionUpgrade
public void setAutoMinorVersionUpgrade(Boolean 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
trueduring the maintenance window, and a newer minor version is available, and AWS DMS has enabled auto patching for that engine version.- Parameters:
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 totrueduring the maintenance window, and a newer minor version is available, and AWS DMS has enabled auto patching for that engine version.
-
getAutoMinorVersionUpgrade
public Boolean getAutoMinorVersionUpgrade()
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
trueduring the maintenance window, and a newer minor version is available, and AWS DMS has enabled auto patching for that engine version.- Returns:
- 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
trueduring the maintenance window, and a newer minor version is available, and AWS DMS has enabled auto patching for that engine version.
-
withAutoMinorVersionUpgrade
public ModifyReplicationInstanceRequest withAutoMinorVersionUpgrade(Boolean 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
trueduring the maintenance window, and a newer minor version is available, and AWS DMS has enabled auto patching for that engine version.- Parameters:
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 totrueduring the maintenance window, and a newer minor version is available, and AWS DMS has enabled auto patching for that engine version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAutoMinorVersionUpgrade
public Boolean isAutoMinorVersionUpgrade()
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
trueduring the maintenance window, and a newer minor version is available, and AWS DMS has enabled auto patching for that engine version.- Returns:
- 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
trueduring the maintenance window, and a newer minor version is available, and AWS DMS has enabled auto patching for that engine version.
-
setReplicationInstanceIdentifier
public void setReplicationInstanceIdentifier(String replicationInstanceIdentifier)
The replication instance identifier. This parameter is stored as a lowercase string.
- Parameters:
replicationInstanceIdentifier- The replication instance identifier. This parameter is stored as a lowercase string.
-
getReplicationInstanceIdentifier
public String getReplicationInstanceIdentifier()
The replication instance identifier. This parameter is stored as a lowercase string.
- Returns:
- The replication instance identifier. This parameter is stored as a lowercase string.
-
withReplicationInstanceIdentifier
public ModifyReplicationInstanceRequest withReplicationInstanceIdentifier(String replicationInstanceIdentifier)
The replication instance identifier. This parameter is stored as a lowercase string.
- Parameters:
replicationInstanceIdentifier- The replication instance identifier. This parameter is stored as a lowercase string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ModifyReplicationInstanceRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-