Interface DBClusterGroup.Builder

  • Method Details

    • dbClusterGroupIdentifier

      DBClusterGroup.Builder dbClusterGroupIdentifier(String dbClusterGroupIdentifier)

      The identifier of the DB cluster group.

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

      DBClusterGroup.Builder dbClusterGroupResourceId(String dbClusterGroupResourceId)

      The Amazon Web Services Region-unique, immutable identifier for the DB cluster group.

      Parameters:
      dbClusterGroupResourceId - The Amazon Web Services Region-unique, immutable identifier for the DB cluster group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbClusterGroupArn

      DBClusterGroup.Builder dbClusterGroupArn(String dbClusterGroupArn)

      The Amazon Resource Name (ARN) for the DB cluster group.

      Parameters:
      dbClusterGroupArn - The Amazon Resource Name (ARN) for the DB cluster group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the DB cluster group.

      Valid Values:

      • creating - Amazon RDS is creating the DB cluster group.

      • available - The DB cluster group is ready to use.

      • modifying - Amazon RDS is applying a change to the DB cluster group.

      • deleting - Amazon RDS is deleting the DB cluster group.

      • incompatible-restore - Amazon RDS couldn't restore the DB cluster group.

      Parameters:
      status - The status of the DB cluster group.

      Valid Values:

      • creating - Amazon RDS is creating the DB cluster group.

      • available - The DB cluster group is ready to use.

      • modifying - Amazon RDS is applying a change to the DB cluster group.

      • deleting - Amazon RDS is deleting the DB cluster group.

      • incompatible-restore - Amazon RDS couldn't restore the DB cluster group.

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

      The status of the DB cluster group.

      Valid Values:

      • creating - Amazon RDS is creating the DB cluster group.

      • available - The DB cluster group is ready to use.

      • modifying - Amazon RDS is applying a change to the DB cluster group.

      • deleting - Amazon RDS is deleting the DB cluster group.

      • incompatible-restore - Amazon RDS couldn't restore the DB cluster group.

      Parameters:
      status - The status of the DB cluster group.

      Valid Values:

      • creating - Amazon RDS is creating the DB cluster group.

      • available - The DB cluster group is ready to use.

      • modifying - Amazon RDS is applying a change to the DB cluster group.

      • deleting - Amazon RDS is deleting the DB cluster group.

      • incompatible-restore - Amazon RDS couldn't restore the DB cluster group.

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

      The database engine used by the DB cluster group.

      Parameters:
      engine - The database engine used by the DB cluster group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • minEngineVersion

      DBClusterGroup.Builder minEngineVersion(String minEngineVersion)

      The lowest engine version among the member DB clusters of the DB cluster group.

      Parameters:
      minEngineVersion - The lowest engine version among the member DB clusters of the DB cluster group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxEngineVersion

      DBClusterGroup.Builder maxEngineVersion(String maxEngineVersion)

      The highest engine version among the member DB clusters of the DB cluster group.

      Parameters:
      maxEngineVersion - The highest engine version among the member DB clusters of the DB cluster group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pendingModifiedValues

      DBClusterGroup.Builder pendingModifiedValues(DBClusterGroupPendingModifiedValues pendingModifiedValues)

      Changes to the DB cluster group that are pending.

      Parameters:
      pendingModifiedValues - Changes to the DB cluster group that are pending.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pendingModifiedValues

      default DBClusterGroup.Builder pendingModifiedValues(Consumer<DBClusterGroupPendingModifiedValues.Builder> pendingModifiedValues)

      Changes to the DB cluster group that are pending.

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

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

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

      DBClusterGroup.Builder preferredMaintenanceWindow(String preferredMaintenanceWindow)

      The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

      Parameters:
      preferredMaintenanceWindow - The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • copyTagsToSnapshot

      DBClusterGroup.Builder copyTagsToSnapshot(Boolean copyTagsToSnapshot)

      Specifies whether tags are copied from the DB cluster group to snapshots of the DB cluster group.

      Parameters:
      copyTagsToSnapshot - Specifies whether tags are copied from the DB cluster group to snapshots of the DB cluster group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • preferredBackupWindow

      DBClusterGroup.Builder preferredBackupWindow(String preferredBackupWindow)

      The daily time range during which automated backups are created, in Universal Coordinated Time (UTC).

      Parameters:
      preferredBackupWindow - The daily time range during which automated backups are created, in Universal Coordinated Time (UTC).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • backupRetentionPeriod

      DBClusterGroup.Builder backupRetentionPeriod(Integer backupRetentionPeriod)

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

      Parameters:
      backupRetentionPeriod - The number of days for which automated backups of the DB cluster group are retained.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • earliestRestorableTime

      DBClusterGroup.Builder earliestRestorableTime(Instant earliestRestorableTime)

      The earliest time to which the DB cluster group can be restored with point-in-time restore.

      Parameters:
      earliestRestorableTime - The earliest time to which the DB cluster group can be restored with point-in-time restore.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestRestorableTime

      DBClusterGroup.Builder latestRestorableTime(Instant latestRestorableTime)

      The latest time to which the DB cluster group can be restored with point-in-time restore.

      Parameters:
      latestRestorableTime - The latest time to which the DB cluster group can be restored with point-in-time restore.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbClusterGroupCreateTime

      DBClusterGroup.Builder dbClusterGroupCreateTime(Instant dbClusterGroupCreateTime)

      The time when the DB cluster group was created, in Universal Coordinated Time (UTC).

      Parameters:
      dbClusterGroupCreateTime - The time when the DB cluster group was created, in Universal Coordinated Time (UTC).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deletionProtection

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

      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routingEnabled

      DBClusterGroup.Builder routingEnabled(Boolean routingEnabled)

      Specifies whether routing is enabled for the DB cluster group.

      Parameters:
      routingEnabled - Specifies whether routing is enabled for the DB cluster group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routingEndpointConfigurationInfo

      DBClusterGroup.Builder routingEndpointConfigurationInfo(RoutingEndpointConfigurationInfo routingEndpointConfigurationInfo)

      The details of the routing endpoint of the DB cluster group. This element is returned only when routing is enabled.

      Parameters:
      routingEndpointConfigurationInfo - The details of the routing endpoint of the DB cluster group. This element is returned only when routing is enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routingEndpointConfigurationInfo

      default DBClusterGroup.Builder routingEndpointConfigurationInfo(Consumer<RoutingEndpointConfigurationInfo.Builder> routingEndpointConfigurationInfo)

      The details of the routing endpoint of the DB cluster group. This element is returned only when routing is enabled.

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

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

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

      The tags assigned to the DB cluster group.

      Parameters:
      tagList - The tags assigned to the DB cluster group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagList

      DBClusterGroup.Builder tagList(Tag... tagList)

      The tags assigned to the DB cluster group.

      Parameters:
      tagList - The tags assigned to the DB cluster group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagList

      The tags assigned to the DB cluster group.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tagList(List<Tag>).

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

      DBClusterGroup.Builder dbClusterGroupMembers(Collection<DBClusterGroupMember> dbClusterGroupMembers)

      The DB clusters that are members of the DB cluster group.

      Parameters:
      dbClusterGroupMembers - The DB clusters that are members of the DB cluster group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbClusterGroupMembers

      DBClusterGroup.Builder dbClusterGroupMembers(DBClusterGroupMember... dbClusterGroupMembers)

      The DB clusters that are members of the DB cluster group.

      Parameters:
      dbClusterGroupMembers - The DB clusters that are members of the DB cluster group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbClusterGroupMembers

      DBClusterGroup.Builder dbClusterGroupMembers(Consumer<DBClusterGroupMember.Builder>... dbClusterGroupMembers)

      The DB clusters that are members of the DB cluster group.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dbClusterGroupMembers(List<DBClusterGroupMember>).

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

      DBClusterGroup.Builder adminUsername(String adminUsername)

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

      Parameters:
      adminUsername - The name of the admin user that the routing endpoint uses to connect to the member DB clusters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.