public static interface DBCluster.Builder extends SdkPojo, CopyableBuilder<DBCluster.Builder,DBCluster>
| Modifier and Type | Method and Description |
|---|---|
DBCluster.Builder |
associatedRoles(Collection<DBClusterRole> associatedRoles)
Provides a list of the Identity and Access Management (IAM) roles that are associated with the cluster.
|
DBCluster.Builder |
associatedRoles(Consumer<DBClusterRole.Builder>... associatedRoles)
Provides a list of the Identity and Access Management (IAM) roles that are associated with the cluster.
|
DBCluster.Builder |
associatedRoles(DBClusterRole... associatedRoles)
Provides a list of the Identity and Access Management (IAM) roles that are associated with the cluster.
|
DBCluster.Builder |
availabilityZones(Collection<String> availabilityZones)
Provides the list of Amazon EC2 Availability Zones that instances in the cluster can be created in.
|
DBCluster.Builder |
availabilityZones(String... availabilityZones)
Provides the list of Amazon EC2 Availability Zones that instances in the cluster can be created in.
|
DBCluster.Builder |
backupRetentionPeriod(Integer backupRetentionPeriod)
Specifies the number of days for which automatic snapshots are retained.
|
DBCluster.Builder |
clusterCreateTime(Instant clusterCreateTime)
Specifies the time when the cluster was created, in Universal Coordinated Time (UTC).
|
DBCluster.Builder |
dbClusterArn(String dbClusterArn)
The Amazon Resource Name (ARN) for the cluster.
|
DBCluster.Builder |
dbClusterIdentifier(String dbClusterIdentifier)
Contains a user-supplied cluster identifier.
|
DBCluster.Builder |
dbClusterMembers(Collection<DBClusterMember> dbClusterMembers)
Provides the list of instances that make up the cluster.
|
DBCluster.Builder |
dbClusterMembers(Consumer<DBClusterMember.Builder>... dbClusterMembers)
Provides the list of instances that make up the cluster.
|
DBCluster.Builder |
dbClusterMembers(DBClusterMember... dbClusterMembers)
Provides the list of instances that make up the cluster.
|
DBCluster.Builder |
dbClusterParameterGroup(String dbClusterParameterGroup)
Specifies the name of the cluster parameter group for the cluster.
|
DBCluster.Builder |
dbClusterResourceId(String dbClusterResourceId)
The Region-unique, immutable identifier for the cluster.
|
DBCluster.Builder |
dbSubnetGroup(String dbSubnetGroup)
Specifies information on the subnet group that is associated with the cluster, including the name,
description, and subnets in the subnet group.
|
DBCluster.Builder |
deletionProtection(Boolean deletionProtection)
Specifies whether this cluster can be deleted.
|
DBCluster.Builder |
earliestRestorableTime(Instant earliestRestorableTime)
The earliest time to which a database can be restored with point-in-time restore.
|
DBCluster.Builder |
enabledCloudwatchLogsExports(Collection<String> enabledCloudwatchLogsExports)
A list of log types that this cluster is configured to export to Amazon CloudWatch Logs.
|
DBCluster.Builder |
enabledCloudwatchLogsExports(String... enabledCloudwatchLogsExports)
A list of log types that this cluster is configured to export to Amazon CloudWatch Logs.
|
DBCluster.Builder |
endpoint(String endpoint)
Specifies the connection endpoint for the primary instance of the cluster.
|
DBCluster.Builder |
engine(String engine)
Provides the name of the database engine to be used for this cluster.
|
DBCluster.Builder |
engineVersion(String engineVersion)
Indicates the database engine version.
|
DBCluster.Builder |
hostedZoneId(String hostedZoneId)
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
|
DBCluster.Builder |
kmsKeyId(String kmsKeyId)
If
StorageEncrypted is true, the KMS key identifier for the encrypted cluster. |
DBCluster.Builder |
latestRestorableTime(Instant latestRestorableTime)
Specifies the latest time to which a database can be restored with point-in-time restore.
|
DBCluster.Builder |
masterUsername(String masterUsername)
Contains the master user name for the cluster.
|
DBCluster.Builder |
multiAZ(Boolean multiAZ)
Specifies whether the cluster has instances in multiple Availability Zones.
|
DBCluster.Builder |
percentProgress(String percentProgress)
Specifies the progress of the operation as a percentage.
|
DBCluster.Builder |
port(Integer port)
Specifies the port that the database engine is listening on.
|
DBCluster.Builder |
preferredBackupWindow(String preferredBackupWindow)
Specifies the daily time range during which automated backups are created if automated backups are enabled,
as determined by the
BackupRetentionPeriod. |
DBCluster.Builder |
preferredMaintenanceWindow(String preferredMaintenanceWindow)
Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time
(UTC).
|
DBCluster.Builder |
readerEndpoint(String readerEndpoint)
The reader endpoint for the cluster.
|
DBCluster.Builder |
readReplicaIdentifiers(Collection<String> readReplicaIdentifiers)
Contains one or more identifiers of the secondary clusters that are associated with this cluster.
|
DBCluster.Builder |
readReplicaIdentifiers(String... readReplicaIdentifiers)
Contains one or more identifiers of the secondary clusters that are associated with this cluster.
|
DBCluster.Builder |
replicationSourceIdentifier(String replicationSourceIdentifier)
Contains the identifier of the source cluster if this cluster is a secondary cluster.
|
DBCluster.Builder |
status(String status)
Specifies the current state of this cluster.
|
DBCluster.Builder |
storageEncrypted(Boolean storageEncrypted)
Specifies whether the cluster is encrypted.
|
DBCluster.Builder |
vpcSecurityGroups(Collection<VpcSecurityGroupMembership> vpcSecurityGroups)
Provides a list of virtual private cloud (VPC) security groups that the cluster belongs to.
|
DBCluster.Builder |
vpcSecurityGroups(Consumer<VpcSecurityGroupMembership.Builder>... vpcSecurityGroups)
Provides a list of virtual private cloud (VPC) security groups that the cluster belongs to.
|
DBCluster.Builder |
vpcSecurityGroups(VpcSecurityGroupMembership... vpcSecurityGroups)
Provides a list of virtual private cloud (VPC) security groups that the cluster belongs to.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDBCluster.Builder availabilityZones(Collection<String> availabilityZones)
Provides the list of Amazon EC2 Availability Zones that instances in the cluster can be created in.
availabilityZones - Provides the list of Amazon EC2 Availability Zones that instances in the cluster can be created in.DBCluster.Builder availabilityZones(String... availabilityZones)
Provides the list of Amazon EC2 Availability Zones that instances in the cluster can be created in.
availabilityZones - Provides the list of Amazon EC2 Availability Zones that instances in the cluster can be created in.DBCluster.Builder backupRetentionPeriod(Integer backupRetentionPeriod)
Specifies the number of days for which automatic snapshots are retained.
backupRetentionPeriod - Specifies the number of days for which automatic snapshots are retained.DBCluster.Builder dbClusterIdentifier(String dbClusterIdentifier)
Contains a user-supplied cluster identifier. This identifier is the unique key that identifies a cluster.
dbClusterIdentifier - Contains a user-supplied cluster identifier. This identifier is the unique key that identifies a
cluster.DBCluster.Builder dbClusterParameterGroup(String dbClusterParameterGroup)
Specifies the name of the cluster parameter group for the cluster.
dbClusterParameterGroup - Specifies the name of the cluster parameter group for the cluster.DBCluster.Builder dbSubnetGroup(String dbSubnetGroup)
Specifies information on the subnet group that is associated with the cluster, including the name, description, and subnets in the subnet group.
dbSubnetGroup - Specifies information on the subnet group that is associated with the cluster, including the name,
description, and subnets in the subnet group.DBCluster.Builder status(String status)
Specifies the current state of this cluster.
status - Specifies the current state of this cluster.DBCluster.Builder percentProgress(String percentProgress)
Specifies the progress of the operation as a percentage.
percentProgress - Specifies the progress of the operation as a percentage.DBCluster.Builder earliestRestorableTime(Instant earliestRestorableTime)
The earliest time to which a database can be restored with point-in-time restore.
earliestRestorableTime - The earliest time to which a database can be restored with point-in-time restore.DBCluster.Builder endpoint(String endpoint)
Specifies the connection endpoint for the primary instance of the cluster.
endpoint - Specifies the connection endpoint for the primary instance of the cluster.DBCluster.Builder readerEndpoint(String readerEndpoint)
The reader endpoint for the cluster. The reader endpoint for a cluster load balances connections across the Amazon DocumentDB replicas that are available in a cluster. As clients request new connections to the reader endpoint, Amazon DocumentDB distributes the connection requests among the Amazon DocumentDB replicas in the cluster. This functionality can help balance your read workload across multiple Amazon DocumentDB replicas in your cluster.
If a failover occurs, and the Amazon DocumentDB replica that you are connected to is promoted to be the primary instance, your connection is dropped. To continue sending your read workload to other Amazon DocumentDB replicas in the cluster, you can then reconnect to the reader endpoint.
readerEndpoint - The reader endpoint for the cluster. The reader endpoint for a cluster load balances connections
across the Amazon DocumentDB replicas that are available in a cluster. As clients request new
connections to the reader endpoint, Amazon DocumentDB distributes the connection requests among the
Amazon DocumentDB replicas in the cluster. This functionality can help balance your read workload
across multiple Amazon DocumentDB replicas in your cluster.
If a failover occurs, and the Amazon DocumentDB replica that you are connected to is promoted to be the primary instance, your connection is dropped. To continue sending your read workload to other Amazon DocumentDB replicas in the cluster, you can then reconnect to the reader endpoint.
DBCluster.Builder multiAZ(Boolean multiAZ)
Specifies whether the cluster has instances in multiple Availability Zones.
multiAZ - Specifies whether the cluster has instances in multiple Availability Zones.DBCluster.Builder engine(String engine)
Provides the name of the database engine to be used for this cluster.
engine - Provides the name of the database engine to be used for this cluster.DBCluster.Builder engineVersion(String engineVersion)
Indicates the database engine version.
engineVersion - Indicates the database engine version.DBCluster.Builder latestRestorableTime(Instant latestRestorableTime)
Specifies the latest time to which a database can be restored with point-in-time restore.
latestRestorableTime - Specifies the latest time to which a database can be restored with point-in-time restore.DBCluster.Builder port(Integer port)
Specifies the port that the database engine is listening on.
port - Specifies the port that the database engine is listening on.DBCluster.Builder masterUsername(String masterUsername)
Contains the master user name for the cluster.
masterUsername - Contains the master user name for the cluster.DBCluster.Builder preferredBackupWindow(String preferredBackupWindow)
Specifies the daily time range during which automated backups are created if automated backups are enabled,
as determined by the BackupRetentionPeriod.
preferredBackupWindow - Specifies the daily time range during which automated backups are created if automated backups are
enabled, as determined by the BackupRetentionPeriod.DBCluster.Builder preferredMaintenanceWindow(String preferredMaintenanceWindow)
Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
preferredMaintenanceWindow - Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated
Time (UTC).DBCluster.Builder replicationSourceIdentifier(String replicationSourceIdentifier)
Contains the identifier of the source cluster if this cluster is a secondary cluster.
replicationSourceIdentifier - Contains the identifier of the source cluster if this cluster is a secondary cluster.DBCluster.Builder readReplicaIdentifiers(Collection<String> readReplicaIdentifiers)
Contains one or more identifiers of the secondary clusters that are associated with this cluster.
readReplicaIdentifiers - Contains one or more identifiers of the secondary clusters that are associated with this cluster.DBCluster.Builder readReplicaIdentifiers(String... readReplicaIdentifiers)
Contains one or more identifiers of the secondary clusters that are associated with this cluster.
readReplicaIdentifiers - Contains one or more identifiers of the secondary clusters that are associated with this cluster.DBCluster.Builder dbClusterMembers(Collection<DBClusterMember> dbClusterMembers)
Provides the list of instances that make up the cluster.
dbClusterMembers - Provides the list of instances that make up the cluster.DBCluster.Builder dbClusterMembers(DBClusterMember... dbClusterMembers)
Provides the list of instances that make up the cluster.
dbClusterMembers - Provides the list of instances that make up the cluster.DBCluster.Builder dbClusterMembers(Consumer<DBClusterMember.Builder>... dbClusterMembers)
Provides the list of instances that make up the cluster.
This is a convenience that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #dbClusterMembers(List) .dbClusterMembers - a consumer that will call methods on List.Builder #dbClusterMembers(List) DBCluster.Builder vpcSecurityGroups(Collection<VpcSecurityGroupMembership> vpcSecurityGroups)
Provides a list of virtual private cloud (VPC) security groups that the cluster belongs to.
vpcSecurityGroups - Provides a list of virtual private cloud (VPC) security groups that the cluster belongs to.DBCluster.Builder vpcSecurityGroups(VpcSecurityGroupMembership... vpcSecurityGroups)
Provides a list of virtual private cloud (VPC) security groups that the cluster belongs to.
vpcSecurityGroups - Provides a list of virtual private cloud (VPC) security groups that the cluster belongs to.DBCluster.Builder vpcSecurityGroups(Consumer<VpcSecurityGroupMembership.Builder>... vpcSecurityGroups)
Provides a list of virtual private cloud (VPC) security groups that the cluster belongs to.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #vpcSecurityGroups(List) .vpcSecurityGroups - a consumer that will call methods on List.Builder #vpcSecurityGroups(List) DBCluster.Builder hostedZoneId(String hostedZoneId)
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
hostedZoneId - Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.DBCluster.Builder storageEncrypted(Boolean storageEncrypted)
Specifies whether the cluster is encrypted.
storageEncrypted - Specifies whether the cluster is encrypted.DBCluster.Builder kmsKeyId(String kmsKeyId)
If StorageEncrypted is true, the KMS key identifier for the encrypted cluster.
kmsKeyId - If StorageEncrypted is true, the KMS key identifier for the encrypted
cluster.DBCluster.Builder dbClusterResourceId(String dbClusterResourceId)
The Region-unique, immutable identifier for the cluster. This identifier is found in CloudTrail log entries whenever the KMS key for the cluster is accessed.
dbClusterResourceId - The Region-unique, immutable identifier for the cluster. This identifier is found in CloudTrail log
entries whenever the KMS key for the cluster is accessed.DBCluster.Builder dbClusterArn(String dbClusterArn)
The Amazon Resource Name (ARN) for the cluster.
dbClusterArn - The Amazon Resource Name (ARN) for the cluster.DBCluster.Builder associatedRoles(Collection<DBClusterRole> associatedRoles)
Provides a list of the Identity and Access Management (IAM) roles that are associated with the cluster. (IAM) roles that are associated with a cluster grant permission for the cluster to access other Amazon Web Services services on your behalf.
associatedRoles - Provides a list of the Identity and Access Management (IAM) roles that are associated with the
cluster. (IAM) roles that are associated with a cluster grant permission for the cluster to access
other Amazon Web Services services on your behalf.DBCluster.Builder associatedRoles(DBClusterRole... associatedRoles)
Provides a list of the Identity and Access Management (IAM) roles that are associated with the cluster. (IAM) roles that are associated with a cluster grant permission for the cluster to access other Amazon Web Services services on your behalf.
associatedRoles - Provides a list of the Identity and Access Management (IAM) roles that are associated with the
cluster. (IAM) roles that are associated with a cluster grant permission for the cluster to access
other Amazon Web Services services on your behalf.DBCluster.Builder associatedRoles(Consumer<DBClusterRole.Builder>... associatedRoles)
Provides a list of the Identity and Access Management (IAM) roles that are associated with the cluster. (IAM) roles that are associated with a cluster grant permission for the cluster to access other Amazon Web Services services on your behalf.
This is a convenience that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #associatedRoles(List) .associatedRoles - a consumer that will call methods on List.Builder #associatedRoles(List) DBCluster.Builder clusterCreateTime(Instant clusterCreateTime)
Specifies the time when the cluster was created, in Universal Coordinated Time (UTC).
clusterCreateTime - Specifies the time when the cluster was created, in Universal Coordinated Time (UTC).DBCluster.Builder enabledCloudwatchLogsExports(Collection<String> enabledCloudwatchLogsExports)
A list of log types that this cluster is configured to export to Amazon CloudWatch Logs.
enabledCloudwatchLogsExports - A list of log types that this cluster is configured to export to Amazon CloudWatch Logs.DBCluster.Builder enabledCloudwatchLogsExports(String... enabledCloudwatchLogsExports)
A list of log types that this cluster is configured to export to Amazon CloudWatch Logs.
enabledCloudwatchLogsExports - A list of log types that this cluster is configured to export to Amazon CloudWatch Logs.DBCluster.Builder deletionProtection(Boolean deletionProtection)
Specifies whether this cluster can be deleted. If DeletionProtection is enabled, the cluster
cannot be deleted unless it is modified and DeletionProtection is disabled.
DeletionProtection protects clusters from being accidentally deleted.
deletionProtection - Specifies whether this cluster can be deleted. If DeletionProtection is enabled, the
cluster cannot be deleted unless it is modified and DeletionProtection is disabled.
DeletionProtection protects clusters from being accidentally deleted.Copyright © 2022. All rights reserved.