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 Details

    • 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

      Specifies whether the replication instance is a Multi-AZ deployment. You can't set the AvailabilityZone parameter if the Multi-AZ parameter is set to true.

      Parameters:
      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 to true.
      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 AllowMajorVersionUpgrade to true.

      Parameters:
      engineVersion - The engine version number of the replication instance.

      When modifying a major engine version of an instance, also set AllowMajorVersionUpgrade to true.

      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 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.

      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.
    • 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 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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.