@Generated(value="software.amazon.awssdk:codegen") public final class ModifyReplicationInstanceRequest extends DatabaseMigrationRequest implements ToCopyableBuilder<ModifyReplicationInstanceRequest.Builder,ModifyReplicationInstanceRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
ModifyReplicationInstanceRequest.Builder |
Modifier and Type | Method and Description |
---|---|
Integer |
allocatedStorage()
The amount of storage (in gigabytes) to be allocated for the replication instance.
|
Boolean |
allowMajorVersionUpgrade()
Indicates that major version upgrades are allowed.
|
Boolean |
applyImmediately()
Indicates whether the changes should be applied immediately or during the next maintenance window.
|
Boolean |
autoMinorVersionUpgrade()
Indicates that minor version upgrades will be applied automatically to the replication instance during the
maintenance window.
|
static ModifyReplicationInstanceRequest.Builder |
builder() |
String |
engineVersion()
The engine version number of the replication instance.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Boolean |
multiAZ()
Specifies if the replication instance is a Multi-AZ deployment.
|
String |
preferredMaintenanceWindow()
The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage.
|
String |
replicationInstanceArn()
The Amazon Resource Name (ARN) of the replication instance.
|
String |
replicationInstanceClass()
The compute and memory capacity of the replication instance.
|
String |
replicationInstanceIdentifier()
The replication instance identifier.
|
static Class<? extends ModifyReplicationInstanceRequest.Builder> |
serializableBuilderClass() |
ModifyReplicationInstanceRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
List<String> |
vpcSecurityGroupIds()
Specifies the VPC security group to be used with the replication instance.
|
overrideConfiguration
copy
public String replicationInstanceArn()
The Amazon Resource Name (ARN) of the replication instance.
public Integer allocatedStorage()
The amount of storage (in gigabytes) to be allocated for the replication instance.
public Boolean applyImmediately()
Indicates whether the changes should be applied immediately or during the next maintenance window.
public 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
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 List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public 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
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 Boolean multiAZ()
Specifies if the replication instance is a Multi-AZ deployment. You cannot 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 String engineVersion()
The engine version number of the replication instance.
public 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.
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 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.
true
during the maintenance window, and a newer minor version is available, and AWS
DMS has enabled auto patching for that engine version.public String replicationInstanceIdentifier()
The replication instance identifier. This parameter is stored as a lowercase string.
public ModifyReplicationInstanceRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ModifyReplicationInstanceRequest.Builder,ModifyReplicationInstanceRequest>
toBuilder
in class DatabaseMigrationRequest
public static ModifyReplicationInstanceRequest.Builder builder()
public static Class<? extends ModifyReplicationInstanceRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.