Interface ModifyReplicationInstanceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyReplicationInstanceRequest.Builder,ModifyReplicationInstanceRequest>,DatabaseMigrationRequest.Builder,SdkBuilder<ModifyReplicationInstanceRequest.Builder,ModifyReplicationInstanceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ModifyReplicationInstanceRequest
public static interface ModifyReplicationInstanceRequest.Builder extends DatabaseMigrationRequest.Builder, SdkPojo, CopyableBuilder<ModifyReplicationInstanceRequest.Builder,ModifyReplicationInstanceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModifyReplicationInstanceRequest.BuilderallocatedStorage(Integer allocatedStorage)The amount of storage (in gigabytes) to be allocated for the replication instance.ModifyReplicationInstanceRequest.BuilderallowMajorVersionUpgrade(Boolean allowMajorVersionUpgrade)Indicates that major version upgrades are allowed.ModifyReplicationInstanceRequest.BuilderapplyImmediately(Boolean applyImmediately)Indicates whether the changes should be applied immediately or during the next maintenance window.ModifyReplicationInstanceRequest.BuilderautoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)A value that indicates that minor version upgrades are applied automatically to the replication instance during the maintenance window.ModifyReplicationInstanceRequest.BuilderengineVersion(String engineVersion)The engine version number of the replication instance.ModifyReplicationInstanceRequest.BuildermultiAZ(Boolean multiAZ)Specifies whether the replication instance is a Multi-AZ deployment.ModifyReplicationInstanceRequest.BuildernetworkType(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.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ModifyReplicationInstanceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ModifyReplicationInstanceRequest.BuilderpreferredMaintenanceWindow(String preferredMaintenanceWindow)The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage.ModifyReplicationInstanceRequest.BuilderreplicationInstanceArn(String replicationInstanceArn)The Amazon Resource Name (ARN) of the replication instance.ModifyReplicationInstanceRequest.BuilderreplicationInstanceClass(String replicationInstanceClass)The compute and memory capacity of the replication instance as defined for the specified replication instance class.ModifyReplicationInstanceRequest.BuilderreplicationInstanceIdentifier(String replicationInstanceIdentifier)The replication instance identifier.ModifyReplicationInstanceRequest.BuildervpcSecurityGroupIds(String... vpcSecurityGroupIds)Specifies the VPC security group to be used with the replication instance.ModifyReplicationInstanceRequest.BuildervpcSecurityGroupIds(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 Detail
-
replicationInstanceArn
ModifyReplicationInstanceRequest.Builder replicationInstanceArn(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.
-
allocatedStorage
ModifyReplicationInstanceRequest.Builder allocatedStorage(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.
-
applyImmediately
ModifyReplicationInstanceRequest.Builder applyImmediately(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.
-
replicationInstanceClass
ModifyReplicationInstanceRequest.Builder replicationInstanceClass(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.
- 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
ModifyReplicationInstanceRequest.Builder vpcSecurityGroupIds(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.
-
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
ModifyReplicationInstanceRequest.Builder multiAZ(Boolean multiAZ)
Specifies whether the replication instance is a Multi-AZ deployment. You can't set the
AvailabilityZoneparameter if the Multi-AZ parameter is set totrue.- Parameters:
multiAZ- Specifies whether the replication instance is a Multi-AZ deployment. You can't set theAvailabilityZoneparameter if the Multi-AZ parameter is set totrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
ModifyReplicationInstanceRequest.Builder engineVersion(String engineVersion)
The engine version number of the replication instance.
When modifying a major engine version of an instance, also set
AllowMajorVersionUpgradetotrue.- Parameters:
engineVersion- The engine version number of the replication instance.When modifying a major engine version of an instance, also set
AllowMajorVersionUpgradetotrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowMajorVersionUpgrade
ModifyReplicationInstanceRequest.Builder allowMajorVersionUpgrade(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
truewhen specifying a value for theEngineVersionparameter 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
truewhen specifying a value for theEngineVersionparameter 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
ModifyReplicationInstanceRequest.Builder autoMinorVersionUpgrade(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
trueduring 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
trueduring 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
ModifyReplicationInstanceRequest.Builder 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. 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyReplicationInstanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-