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 ModifyReplicationInstanceRequest
clone()
Creates a shallow clone of this request.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()
Indicates that minor version upgrades will be applied automatically to the replication instance during the maintenance window.String
getEngineVersion()
The engine version number of the replication instance.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.String
getReplicationInstanceIdentifier()
The replication instance identifier.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()
Indicates that minor version upgrades will be applied automatically to the replication instance during the maintenance window.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)
Indicates that minor version upgrades will be applied automatically to the replication instance during the maintenance window.void
setEngineVersion(String engineVersion)
The engine version number of the replication instance.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.void
setReplicationInstanceIdentifier(String replicationInstanceIdentifier)
The replication instance identifier.String
toString()
Returns a string representation of this object; useful for testing and debugging.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)
Indicates that minor version upgrades will be applied automatically to the replication instance during the maintenance window.ModifyReplicationInstanceRequest
withEngineVersion(String engineVersion)
The engine version number of the replication instance.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.ModifyReplicationInstanceRequest
withReplicationInstanceIdentifier(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
EngineVersion
parameter 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
EngineVersion
parameter 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
EngineVersion
parameter 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
EngineVersion
parameter 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
EngineVersion
parameter 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
EngineVersion
parameter 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
EngineVersion
parameter 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
EngineVersion
parameter 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
true
during 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 totrue
during 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
true
during 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
true
during 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
true
during 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 totrue
during 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
true
during 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
true
during 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ModifyReplicationInstanceRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-