Interface ModifyDbClusterGroupRequest.Builder

  • Method Details

    • dbClusterGroupIdentifier

      ModifyDbClusterGroupRequest.Builder dbClusterGroupIdentifier(String dbClusterGroupIdentifier)

      The identifier of the DB cluster group to modify.

      Parameters:
      dbClusterGroupIdentifier - The identifier of the DB cluster group to modify.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • preferredMaintenanceWindow

      ModifyDbClusterGroupRequest.Builder preferredMaintenanceWindow(String preferredMaintenanceWindow)

      The weekly time range during which system maintenance can occur for the DB cluster group, in Universal Coordinated Time (UTC).

      Format: ddd:hh24:mi-ddd:hh24:mi

      Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.

      Constraints: Must be at least 30 minutes. Must not overlap the preferred backup window.

      The maintenance window of the DB cluster group can overlap the maintenance windows of its member DB clusters.

      Parameters:
      preferredMaintenanceWindow - The weekly time range during which system maintenance can occur for the DB cluster group, in Universal Coordinated Time (UTC).

      Format: ddd:hh24:mi-ddd:hh24:mi

      Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.

      Constraints: Must be at least 30 minutes. Must not overlap the preferred backup window.

      The maintenance window of the DB cluster group can overlap the maintenance windows of its member DB clusters.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • preferredBackupWindow

      ModifyDbClusterGroupRequest.Builder preferredBackupWindow(String preferredBackupWindow)

      The daily time range during which automated backups are created for the DB cluster group, in Universal Coordinated Time (UTC).

      Format: hh24:mi-hh24:mi

      Constraints: Must be at least 30 minutes. Must not overlap the preferred maintenance window of the DB cluster group or the preferred maintenance window of any member DB cluster.

      Parameters:
      preferredBackupWindow - The daily time range during which automated backups are created for the DB cluster group, in Universal Coordinated Time (UTC).

      Format: hh24:mi-hh24:mi

      Constraints: Must be at least 30 minutes. Must not overlap the preferred maintenance window of the DB cluster group or the preferred maintenance window of any member DB cluster.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • backupRetentionPeriod

      ModifyDbClusterGroupRequest.Builder backupRetentionPeriod(Integer backupRetentionPeriod)

      The number of days for which automated backups of the DB cluster group are retained.

      Constraints: Must be a value from 1 to 35. Can't be greater than the backup retention period of any member DB cluster.

      Parameters:
      backupRetentionPeriod - The number of days for which automated backups of the DB cluster group are retained.

      Constraints: Must be a value from 1 to 35. Can't be greater than the backup retention period of any member DB cluster.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • copyTagsToSnapshot

      ModifyDbClusterGroupRequest.Builder copyTagsToSnapshot(Boolean copyTagsToSnapshot)

      Specifies whether to copy all tags from the DB cluster group to snapshots of the DB cluster group. The default is not to copy them.

      Parameters:
      copyTagsToSnapshot - Specifies whether to copy all tags from the DB cluster group to snapshots of the DB cluster group. The default is not to copy them.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deletionProtection

      ModifyDbClusterGroupRequest.Builder deletionProtection(Boolean deletionProtection)

      Specifies whether the DB cluster group has deletion protection enabled. You can't delete the DB cluster group when deletion protection is enabled. By default, deletion protection isn't enabled.

      Parameters:
      deletionProtection - Specifies whether the DB cluster group has deletion protection enabled. You can't delete the DB cluster group when deletion protection is enabled. By default, deletion protection isn't enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enableRouting

      ModifyDbClusterGroupRequest.Builder enableRouting(Boolean enableRouting)

      Specifies whether to enable or disable routing for the DB cluster group.

      When you enable routing, you must specify VpcSubnetIds in RoutingEndpointConfiguration.

      Parameters:
      enableRouting - Specifies whether to enable or disable routing for the DB cluster group.

      When you enable routing, you must specify VpcSubnetIds in RoutingEndpointConfiguration.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routingEndpointConfiguration

      ModifyDbClusterGroupRequest.Builder routingEndpointConfiguration(RoutingEndpointConfiguration routingEndpointConfiguration)

      The settings of the routing endpoint. Specify this parameter with EnableRouting set to true, including VpcSubnetIds, or to change Parameters while routing is enabled.

      Parameters:
      routingEndpointConfiguration - The settings of the routing endpoint. Specify this parameter with EnableRouting set to true, including VpcSubnetIds, or to change Parameters while routing is enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routingEndpointConfiguration

      default ModifyDbClusterGroupRequest.Builder routingEndpointConfiguration(Consumer<RoutingEndpointConfiguration.Builder> routingEndpointConfiguration)

      The settings of the routing endpoint. Specify this parameter with EnableRouting set to true, including VpcSubnetIds, or to change Parameters while routing is enabled.

      This is a convenience method that creates an instance of the RoutingEndpointConfiguration.Builder avoiding the need to create one manually via RoutingEndpointConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to routingEndpointConfiguration(RoutingEndpointConfiguration).

      Parameters:
      routingEndpointConfiguration - a consumer that will call methods on RoutingEndpointConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • engineVersion

      ModifyDbClusterGroupRequest.Builder engineVersion(String engineVersion)

      The engine version to upgrade the member DB clusters of the DB cluster group to. Until the upgrade is applied, the version is shown in the PendingModifiedValues of the DB cluster group.

      Parameters:
      engineVersion - The engine version to upgrade the member DB clusters of the DB cluster group to. Until the upgrade is applied, the version is shown in the PendingModifiedValues of the DB cluster group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • applyImmediately

      ModifyDbClusterGroupRequest.Builder applyImmediately(Boolean applyImmediately)

      Specifies whether to apply the engine version upgrade as soon as possible, regardless of the PreferredMaintenanceWindow setting for the DB cluster group. If this parameter is disabled, the upgrade is applied during the next maintenance window.

      Default: false

      Parameters:
      applyImmediately - Specifies whether to apply the engine version upgrade as soon as possible, regardless of the PreferredMaintenanceWindow setting for the DB cluster group. If this parameter is disabled, the upgrade is applied during the next maintenance window.

      Default: false

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • adminUsername

      ModifyDbClusterGroupRequest.Builder adminUsername(String adminUsername)

      The name of the admin user that the routing endpoint uses to connect to the member DB clusters.

      If you specify AdminUsername, you must also specify AdminUserPassword.

      Default: None. An admin user is required when you enable routing.

      Parameters:
      adminUsername - The name of the admin user that the routing endpoint uses to connect to the member DB clusters.

      If you specify AdminUsername, you must also specify AdminUserPassword.

      Default: None. An admin user is required when you enable routing.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • adminUserPassword

      ModifyDbClusterGroupRequest.Builder adminUserPassword(String adminUserPassword)

      The password for the admin user that the routing endpoint uses to connect to the member DB clusters.

      If you specify AdminUserPassword, you must also specify AdminUsername.

      Default: None. An admin user is required when you enable routing.

      Parameters:
      adminUserPassword - The password for the admin user that the routing endpoint uses to connect to the member DB clusters.

      If you specify AdminUserPassword, you must also specify AdminUsername.

      Default: None. An admin user is required when you enable routing.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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