Interface AwsRdsDbClusterDetails.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AwsRdsDbClusterDetails.Builder,AwsRdsDbClusterDetails>, SdkBuilder<AwsRdsDbClusterDetails.Builder,AwsRdsDbClusterDetails>, SdkPojo
Enclosing class:
AwsRdsDbClusterDetails

public static interface AwsRdsDbClusterDetails.Builder extends SdkPojo, CopyableBuilder<AwsRdsDbClusterDetails.Builder,AwsRdsDbClusterDetails>
  • Method Details

    • allocatedStorage

      AwsRdsDbClusterDetails.Builder allocatedStorage(Integer allocatedStorage)

      For all database engines except Aurora, specifies the allocated storage size in gibibytes (GiB).

      Parameters:
      allocatedStorage - For all database engines except Aurora, specifies the allocated storage size in gibibytes (GiB).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availabilityZones

      AwsRdsDbClusterDetails.Builder availabilityZones(Collection<String> availabilityZones)

      A list of Availability Zones (AZs) where instances in the DB cluster can be created.

      Parameters:
      availabilityZones - A list of Availability Zones (AZs) where instances in the DB cluster can be created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availabilityZones

      AwsRdsDbClusterDetails.Builder availabilityZones(String... availabilityZones)

      A list of Availability Zones (AZs) where instances in the DB cluster can be created.

      Parameters:
      availabilityZones - A list of Availability Zones (AZs) where instances in the DB cluster can be created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • backupRetentionPeriod

      AwsRdsDbClusterDetails.Builder backupRetentionPeriod(Integer backupRetentionPeriod)

      The number of days for which automated backups are retained.

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

      AwsRdsDbClusterDetails.Builder databaseName(String databaseName)

      The name of the database.

      Parameters:
      databaseName - The name of the database.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of this DB cluster.

      Parameters:
      status - The current status of this DB cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpoint

      The connection endpoint for the primary instance of the DB cluster.

      Parameters:
      endpoint - The connection endpoint for the primary instance of the DB cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • readerEndpoint

      AwsRdsDbClusterDetails.Builder readerEndpoint(String readerEndpoint)

      The reader endpoint for the DB cluster.

      Parameters:
      readerEndpoint - The reader endpoint for the DB cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customEndpoints

      AwsRdsDbClusterDetails.Builder customEndpoints(Collection<String> customEndpoints)

      A list of custom endpoints for the DB cluster.

      Parameters:
      customEndpoints - A list of custom endpoints for the DB cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customEndpoints

      AwsRdsDbClusterDetails.Builder customEndpoints(String... customEndpoints)

      A list of custom endpoints for the DB cluster.

      Parameters:
      customEndpoints - A list of custom endpoints for the DB cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • multiAz

      Whether the DB cluster has instances in multiple Availability Zones.

      Parameters:
      multiAz - Whether the DB cluster has instances in multiple Availability Zones.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • engine

      The name of the database engine to use for this DB cluster. Valid values are as follows:

      • aurora

      • aurora-mysql

      • aurora-postgresql

      Parameters:
      engine - The name of the database engine to use for this DB cluster. Valid values are as follows:

      • aurora

      • aurora-mysql

      • aurora-postgresql

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

      AwsRdsDbClusterDetails.Builder engineVersion(String engineVersion)

      The version number of the database engine to use.

      Parameters:
      engineVersion - The version number of the database engine to use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • port

      The port number on which the DB instances in the DB cluster accept connections.

      Parameters:
      port - The port number on which the DB instances in the DB cluster accept connections.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • masterUsername

      AwsRdsDbClusterDetails.Builder masterUsername(String masterUsername)

      The name of the master user for the DB cluster.

      Parameters:
      masterUsername - The name of the master user for the DB cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • preferredBackupWindow

      AwsRdsDbClusterDetails.Builder preferredBackupWindow(String preferredBackupWindow)

      The range of time each day when automated backups are created, if automated backups are enabled.

      Uses the format HH:MM-HH:MM. For example, 04:52-05:22.

      Parameters:
      preferredBackupWindow - The range of time each day when automated backups are created, if automated backups are enabled.

      Uses the format HH:MM-HH:MM. For example, 04:52-05:22.

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

      AwsRdsDbClusterDetails.Builder preferredMaintenanceWindow(String preferredMaintenanceWindow)

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

      Uses the format <day>:HH:MM-<day>:HH:MM.

      For the day values, use mon|tue|wed|thu|fri| sat|sun.

      For example, sun:09:32-sun:10:02.

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

      Uses the format <day>:HH:MM-<day>:HH:MM.

      For the day values, use mon|tue|wed|thu| fri|sat|sun.

      For example, sun:09:32-sun:10:02.

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

      AwsRdsDbClusterDetails.Builder readReplicaIdentifiers(Collection<String> readReplicaIdentifiers)

      The identifiers of the read replicas that are associated with this DB cluster.

      Parameters:
      readReplicaIdentifiers - The identifiers of the read replicas that are associated with this DB cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • readReplicaIdentifiers

      AwsRdsDbClusterDetails.Builder readReplicaIdentifiers(String... readReplicaIdentifiers)

      The identifiers of the read replicas that are associated with this DB cluster.

      Parameters:
      readReplicaIdentifiers - The identifiers of the read replicas that are associated with this DB cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcSecurityGroups

      A list of VPC security groups that the DB cluster belongs to.

      Parameters:
      vpcSecurityGroups - A list of VPC security groups that the DB cluster belongs to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcSecurityGroups

      AwsRdsDbClusterDetails.Builder vpcSecurityGroups(AwsRdsDbInstanceVpcSecurityGroup... vpcSecurityGroups)

      A list of VPC security groups that the DB cluster belongs to.

      Parameters:
      vpcSecurityGroups - A list of VPC security groups that the DB cluster belongs to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcSecurityGroups

      A list of VPC security groups that the DB cluster belongs to.

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

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

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

      AwsRdsDbClusterDetails.Builder hostedZoneId(String hostedZoneId)

      Specifies the identifier that Amazon Route 53 assigns when you create a hosted zone.

      Parameters:
      hostedZoneId - Specifies the identifier that Amazon Route 53 assigns when you create a hosted zone.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageEncrypted

      AwsRdsDbClusterDetails.Builder storageEncrypted(Boolean storageEncrypted)

      Whether the DB cluster is encrypted.

      Parameters:
      storageEncrypted - Whether the DB cluster is encrypted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsKeyId

      The ARN of the KMS master key that is used to encrypt the database instances in the DB cluster.

      Parameters:
      kmsKeyId - The ARN of the KMS master key that is used to encrypt the database instances in the DB cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbClusterResourceId

      AwsRdsDbClusterDetails.Builder dbClusterResourceId(String dbClusterResourceId)

      The identifier of the DB cluster. The identifier must be unique within each Amazon Web Services Region and is immutable.

      Parameters:
      dbClusterResourceId - The identifier of the DB cluster. The identifier must be unique within each Amazon Web Services Region and is immutable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedRoles

      A list of the IAM roles that are associated with the DB cluster.

      Parameters:
      associatedRoles - A list of the IAM roles that are associated with the DB cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedRoles

      A list of the IAM roles that are associated with the DB cluster.

      Parameters:
      associatedRoles - A list of the IAM roles that are associated with the DB cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedRoles

      A list of the IAM roles that are associated with the DB cluster.

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

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

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

      AwsRdsDbClusterDetails.Builder clusterCreateTime(String clusterCreateTime)

      Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).

      This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

      • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

      • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

      • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

      Parameters:
      clusterCreateTime - Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).

      This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

      • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

      • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

      • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

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

      AwsRdsDbClusterDetails.Builder enabledCloudWatchLogsExports(Collection<String> enabledCloudWatchLogsExports)

      A list of log types that this DB cluster is configured to export to CloudWatch Logs.

      Parameters:
      enabledCloudWatchLogsExports - A list of log types that this DB cluster is configured to export to CloudWatch Logs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enabledCloudWatchLogsExports

      AwsRdsDbClusterDetails.Builder enabledCloudWatchLogsExports(String... enabledCloudWatchLogsExports)

      A list of log types that this DB cluster is configured to export to CloudWatch Logs.

      Parameters:
      enabledCloudWatchLogsExports - A list of log types that this DB cluster is configured to export to CloudWatch Logs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • engineMode

      AwsRdsDbClusterDetails.Builder engineMode(String engineMode)

      The database engine mode of the DB cluster.Valid values are as follows:

      • global

      • multimaster

      • parallelquery

      • provisioned

      • serverless

      Parameters:
      engineMode - The database engine mode of the DB cluster.Valid values are as follows:

      • global

      • multimaster

      • parallelquery

      • provisioned

      • serverless

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

      AwsRdsDbClusterDetails.Builder deletionProtection(Boolean deletionProtection)

      Whether the DB cluster has deletion protection enabled.

      Parameters:
      deletionProtection - Whether the DB cluster has deletion protection enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • httpEndpointEnabled

      AwsRdsDbClusterDetails.Builder httpEndpointEnabled(Boolean httpEndpointEnabled)

      Whether the HTTP endpoint for an Aurora Serverless DB cluster is enabled.

      Parameters:
      httpEndpointEnabled - Whether the HTTP endpoint for an Aurora Serverless DB cluster is enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • activityStreamStatus

      AwsRdsDbClusterDetails.Builder activityStreamStatus(String activityStreamStatus)

      The status of the database activity stream. Valid values are as follows:

      • started

      • starting

      • stopped

      • stopping

      Parameters:
      activityStreamStatus - The status of the database activity stream. Valid values are as follows:

      • started

      • starting

      • stopped

      • stopping

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

      AwsRdsDbClusterDetails.Builder copyTagsToSnapshot(Boolean copyTagsToSnapshot)

      Whether tags are copied from the DB cluster to snapshots of the DB cluster.

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

      AwsRdsDbClusterDetails.Builder crossAccountClone(Boolean crossAccountClone)

      Whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web Services account.

      Parameters:
      crossAccountClone - Whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web Services account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainMemberships

      The Active Directory domain membership records that are associated with the DB cluster.

      Parameters:
      domainMemberships - The Active Directory domain membership records that are associated with the DB cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainMemberships

      AwsRdsDbClusterDetails.Builder domainMemberships(AwsRdsDbDomainMembership... domainMemberships)

      The Active Directory domain membership records that are associated with the DB cluster.

      Parameters:
      domainMemberships - The Active Directory domain membership records that are associated with the DB cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainMemberships

      The Active Directory domain membership records that are associated with the DB cluster.

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

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

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

      AwsRdsDbClusterDetails.Builder dbClusterParameterGroup(String dbClusterParameterGroup)

      The name of the DB cluster parameter group for the DB cluster.

      Parameters:
      dbClusterParameterGroup - The name of the DB cluster parameter group for the DB cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbSubnetGroup

      AwsRdsDbClusterDetails.Builder dbSubnetGroup(String dbSubnetGroup)

      The subnet group that is associated with the DB cluster, including the name, description, and subnets in the subnet group.

      Parameters:
      dbSubnetGroup - The subnet group that is associated with the DB cluster, including the name, description, and subnets in the subnet group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbClusterOptionGroupMemberships

      AwsRdsDbClusterDetails.Builder dbClusterOptionGroupMemberships(Collection<AwsRdsDbClusterOptionGroupMembership> dbClusterOptionGroupMemberships)

      The list of option group memberships for this DB cluster.

      Parameters:
      dbClusterOptionGroupMemberships - The list of option group memberships for this DB cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbClusterOptionGroupMemberships

      AwsRdsDbClusterDetails.Builder dbClusterOptionGroupMemberships(AwsRdsDbClusterOptionGroupMembership... dbClusterOptionGroupMemberships)

      The list of option group memberships for this DB cluster.

      Parameters:
      dbClusterOptionGroupMemberships - The list of option group memberships for this DB cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbClusterOptionGroupMemberships

      AwsRdsDbClusterDetails.Builder dbClusterOptionGroupMemberships(Consumer<AwsRdsDbClusterOptionGroupMembership.Builder>... dbClusterOptionGroupMemberships)

      The list of option group memberships for this DB cluster.

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

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

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

      AwsRdsDbClusterDetails.Builder dbClusterIdentifier(String dbClusterIdentifier)

      The DB cluster identifier that the user assigned to the cluster. This identifier is the unique key that identifies a DB cluster.

      Parameters:
      dbClusterIdentifier - The DB cluster identifier that the user assigned to the cluster. This identifier is the unique key that identifies a DB cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbClusterMembers

      The list of instances that make up the DB cluster.

      Parameters:
      dbClusterMembers - The list of instances that make up the DB cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbClusterMembers

      AwsRdsDbClusterDetails.Builder dbClusterMembers(AwsRdsDbClusterMember... dbClusterMembers)

      The list of instances that make up the DB cluster.

      Parameters:
      dbClusterMembers - The list of instances that make up the DB cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbClusterMembers

      The list of instances that make up the DB cluster.

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

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

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

      AwsRdsDbClusterDetails.Builder iamDatabaseAuthenticationEnabled(Boolean iamDatabaseAuthenticationEnabled)

      Whether the mapping of IAM accounts to database accounts is enabled.

      Parameters:
      iamDatabaseAuthenticationEnabled - Whether the mapping of IAM accounts to database accounts is enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoMinorVersionUpgrade

      AwsRdsDbClusterDetails.Builder autoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)

      Indicates if minor version upgrades are automatically applied to the cluster.

      Parameters:
      autoMinorVersionUpgrade - Indicates if minor version upgrades are automatically applied to the cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.