Interface ModifyReplicationInstanceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ModifyReplicationInstanceRequest.Builder,
,ModifyReplicationInstanceRequest> DatabaseMigrationRequest.Builder
,SdkBuilder<ModifyReplicationInstanceRequest.Builder,
,ModifyReplicationInstanceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ModifyReplicationInstanceRequest
-
Method Summary
Modifier and TypeMethodDescriptionallocatedStorage
(Integer allocatedStorage) The amount of storage (in gigabytes) to be allocated for the replication instance.allowMajorVersionUpgrade
(Boolean allowMajorVersionUpgrade) Indicates that major version upgrades are allowed.applyImmediately
(Boolean applyImmediately) Indicates whether the changes should be applied immediately or during the next maintenance window.autoMinorVersionUpgrade
(Boolean autoMinorVersionUpgrade) A value that indicates that minor version upgrades are applied automatically to the replication instance during the maintenance window.engineVersion
(String engineVersion) The engine version number of the replication instance.Specifies whether the replication instance is a Multi-AZ deployment.networkType
(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.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.preferredMaintenanceWindow
(String preferredMaintenanceWindow) The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage.replicationInstanceArn
(String replicationInstanceArn) The Amazon Resource Name (ARN) of the replication instance.replicationInstanceClass
(String replicationInstanceClass) The compute and memory capacity of the replication instance as defined for the specified replication instance class.replicationInstanceIdentifier
(String replicationInstanceIdentifier) The replication instance identifier.vpcSecurityGroupIds
(String... vpcSecurityGroupIds) Specifies the VPC security group to be used with the replication instance.vpcSecurityGroupIds
(Collection<String> vpcSecurityGroupIds) Specifies the VPC security group to be used with the replication instance.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.databasemigration.model.DatabaseMigrationRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
-
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.
-
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.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSecurityGroupIds
ModifyReplicationInstanceRequest.Builder vpcSecurityGroupIds(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preferredMaintenanceWindow
ModifyReplicationInstanceRequest.Builder preferredMaintenanceWindow(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.
-
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 totrue
.- Parameters:
multiAZ
- Specifies whether the replication instance is a Multi-AZ deployment. You can't set theAvailabilityZone
parameter if the Multi-AZ parameter is set totrue
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
The engine version number of the replication instance.
When modifying a major engine version of an instance, also set
AllowMajorVersionUpgrade
totrue
.- Parameters:
engineVersion
- The engine version number of the replication instance.When modifying a major engine version of an instance, also set
AllowMajorVersionUpgrade
totrue
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 theEngineVersion
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.This parameter must be set to
true
when specifying a value for theEngineVersion
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.
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
replicationInstanceIdentifier
ModifyReplicationInstanceRequest.Builder replicationInstanceIdentifier(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.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ModifyReplicationInstanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyReplicationInstanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-