Interface DBCluster.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DBCluster.Builder,
,DBCluster> SdkBuilder<DBCluster.Builder,
,DBCluster> SdkPojo
- Enclosing class:
DBCluster
-
Method Summary
Modifier and TypeMethodDescriptionallocatedStorage
(Integer allocatedStorage) AllocatedStorage
always returns 1, because Neptune DB cluster storage size is not fixed, but instead automatically adjusts as needed.associatedRoles
(Collection<DBClusterRole> associatedRoles) Provides a list of the Amazon Identity and Access Management (IAM) roles that are associated with the DB cluster.associatedRoles
(Consumer<DBClusterRole.Builder>... associatedRoles) Provides a list of the Amazon Identity and Access Management (IAM) roles that are associated with the DB cluster.associatedRoles
(DBClusterRole... associatedRoles) Provides a list of the Amazon Identity and Access Management (IAM) roles that are associated with the DB cluster.automaticRestartTime
(Instant automaticRestartTime) Time at which the DB cluster will be automatically restarted.availabilityZones
(String... availabilityZones) Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in.availabilityZones
(Collection<String> availabilityZones) Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in.backupRetentionPeriod
(Integer backupRetentionPeriod) Specifies the number of days for which automatic DB snapshots are retained.characterSetName
(String characterSetName) Not supported by Neptune.cloneGroupId
(String cloneGroupId) Identifies the clone group to which the DB cluster is associated.clusterCreateTime
(Instant clusterCreateTime) Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).copyTagsToSnapshot
(Boolean copyTagsToSnapshot) If set totrue
, tags are copied to any snapshot of the DB cluster that is created.crossAccountClone
(Boolean crossAccountClone) If set totrue
, the DB cluster can be cloned across accounts.databaseName
(String databaseName) Contains the name of the initial database of this DB cluster that was provided at create time, if one was specified when the DB cluster was created.dbClusterArn
(String dbClusterArn) The Amazon Resource Name (ARN) for the DB cluster.dbClusterIdentifier
(String dbClusterIdentifier) Contains a user-supplied DB cluster identifier.dbClusterMembers
(Collection<DBClusterMember> dbClusterMembers) Provides the list of instances that make up the DB cluster.dbClusterMembers
(Consumer<DBClusterMember.Builder>... dbClusterMembers) Provides the list of instances that make up the DB cluster.dbClusterMembers
(DBClusterMember... dbClusterMembers) Provides the list of instances that make up the DB cluster.dbClusterOptionGroupMemberships
(Collection<DBClusterOptionGroupStatus> dbClusterOptionGroupMemberships) Not supported by Neptune.dbClusterOptionGroupMemberships
(Consumer<DBClusterOptionGroupStatus.Builder>... dbClusterOptionGroupMemberships) Not supported by Neptune.dbClusterOptionGroupMemberships
(DBClusterOptionGroupStatus... dbClusterOptionGroupMemberships) Not supported by Neptune.dbClusterParameterGroup
(String dbClusterParameterGroup) Specifies the name of the DB cluster parameter group for the DB cluster.dbClusterResourceId
(String dbClusterResourceId) The Amazon Region-unique, immutable identifier for the DB cluster.dbSubnetGroup
(String dbSubnetGroup) Specifies information on the subnet group associated with the DB cluster, including the name, description, and subnets in the subnet group.deletionProtection
(Boolean deletionProtection) Indicates whether or not the DB cluster has deletion protection enabled.earliestRestorableTime
(Instant earliestRestorableTime) Specifies the earliest time to which a database can be restored with point-in-time restore.enabledCloudwatchLogsExports
(String... enabledCloudwatchLogsExports) A list of the log types that this DB cluster is configured to export to CloudWatch Logs.enabledCloudwatchLogsExports
(Collection<String> enabledCloudwatchLogsExports) A list of the log types that this DB cluster is configured to export to CloudWatch Logs.Specifies the connection endpoint for the primary instance of the DB cluster.Provides the name of the database engine to be used for this DB cluster.engineVersion
(String engineVersion) Indicates the database engine version.globalClusterIdentifier
(String globalClusterIdentifier) Contains a user-supplied global database cluster identifier.hostedZoneId
(String hostedZoneId) Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.iamDatabaseAuthenticationEnabled
(Boolean iamDatabaseAuthenticationEnabled) True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.ioOptimizedNextAllowedModificationTime
(Instant ioOptimizedNextAllowedModificationTime) The next time you can modify the DB cluster to use theiopt1
storage type.IfStorageEncrypted
is true, the Amazon KMS key identifier for the encrypted DB cluster.latestRestorableTime
(Instant latestRestorableTime) Specifies the latest time to which a database can be restored with point-in-time restore.masterUsername
(String masterUsername) Not supported by Neptune.Specifies whether the DB cluster has instances in multiple Availability Zones.default DBCluster.Builder
pendingModifiedValues
(Consumer<ClusterPendingModifiedValues.Builder> pendingModifiedValues) This data type is used as a response element in theModifyDBCluster
operation and contains changes that will be applied during the next maintenance window.pendingModifiedValues
(ClusterPendingModifiedValues pendingModifiedValues) This data type is used as a response element in theModifyDBCluster
operation and contains changes that will be applied during the next maintenance window.percentProgress
(String percentProgress) Specifies the progress of the operation as a percentage.Specifies the port that the database engine is listening on.preferredBackupWindow
(String preferredBackupWindow) Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by theBackupRetentionPeriod
.preferredMaintenanceWindow
(String preferredMaintenanceWindow) Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).readerEndpoint
(String readerEndpoint) The reader endpoint for the DB cluster.readReplicaIdentifiers
(String... readReplicaIdentifiers) Contains one or more identifiers of the Read Replicas associated with this DB cluster.readReplicaIdentifiers
(Collection<String> readReplicaIdentifiers) Contains one or more identifiers of the Read Replicas associated with this DB cluster.replicationSourceIdentifier
(String replicationSourceIdentifier) Not supported by Neptune.default DBCluster.Builder
serverlessV2ScalingConfiguration
(Consumer<ServerlessV2ScalingConfigurationInfo.Builder> serverlessV2ScalingConfiguration) Shows the scaling configuration for a Neptune Serverless DB cluster.serverlessV2ScalingConfiguration
(ServerlessV2ScalingConfigurationInfo serverlessV2ScalingConfiguration) Shows the scaling configuration for a Neptune Serverless DB cluster.Specifies the current state of this DB cluster.storageEncrypted
(Boolean storageEncrypted) Specifies whether the DB cluster is encrypted.storageType
(String storageType) The storage type used by the DB cluster.vpcSecurityGroups
(Collection<VpcSecurityGroupMembership> vpcSecurityGroups) Provides a list of VPC security groups that the DB cluster belongs to.vpcSecurityGroups
(Consumer<VpcSecurityGroupMembership.Builder>... vpcSecurityGroups) Provides a list of VPC security groups that the DB cluster belongs to.vpcSecurityGroups
(VpcSecurityGroupMembership... vpcSecurityGroups) Provides a list of VPC security groups that the DB cluster belongs to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
allocatedStorage
AllocatedStorage
always returns 1, because Neptune DB cluster storage size is not fixed, but instead automatically adjusts as needed.- Parameters:
allocatedStorage
-AllocatedStorage
always returns 1, because Neptune DB cluster storage size is not fixed, but instead automatically adjusts as needed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZones
Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in.
- Parameters:
availabilityZones
- Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZones
Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in.
- Parameters:
availabilityZones
- Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupRetentionPeriod
Specifies the number of days for which automatic DB snapshots are retained.
- Parameters:
backupRetentionPeriod
- Specifies the number of days for which automatic DB snapshots are retained.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
characterSetName
Not supported by Neptune.
- Parameters:
characterSetName
- Not supported by Neptune.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseName
Contains the name of the initial database of this DB cluster that was provided at create time, if one was specified when the DB cluster was created. This same name is returned for the life of the DB cluster.
- Parameters:
databaseName
- Contains the name of the initial database of this DB cluster that was provided at create time, if one was specified when the DB cluster was created. This same name is returned for the life of the DB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterIdentifier
Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster.
- Parameters:
dbClusterIdentifier
- Contains a user-supplied DB cluster identifier. 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.
-
dbClusterParameterGroup
Specifies the name of the DB cluster parameter group for the DB cluster.
- Parameters:
dbClusterParameterGroup
- Specifies 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
Specifies information on the subnet group associated with the DB cluster, including the name, description, and subnets in the subnet group.
- Parameters:
dbSubnetGroup
- Specifies information on the subnet group 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.
-
status
Specifies the current state of this DB cluster.
- Parameters:
status
- Specifies the current state of this DB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
percentProgress
Specifies the progress of the operation as a percentage.
- Parameters:
percentProgress
- Specifies the progress of the operation as a percentage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
earliestRestorableTime
Specifies the earliest time to which a database can be restored with point-in-time restore.
- Parameters:
earliestRestorableTime
- Specifies the earliest time to which a database can be restored with point-in-time restore.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoint
Specifies the connection endpoint for the primary instance of the DB cluster.
- Parameters:
endpoint
- Specifies 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
The reader endpoint for the DB cluster. The reader endpoint for a DB cluster load-balances connections across the Read Replicas that are available in a DB cluster. As clients request new connections to the reader endpoint, Neptune distributes the connection requests among the Read Replicas in the DB cluster. This functionality can help balance your read workload across multiple Read Replicas in your DB cluster.
If a failover occurs, and the Read 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 Read Replicas in the cluster, you can then reconnect to the reader endpoint.
- Parameters:
readerEndpoint
- The reader endpoint for the DB cluster. The reader endpoint for a DB cluster load-balances connections across the Read Replicas that are available in a DB cluster. As clients request new connections to the reader endpoint, Neptune distributes the connection requests among the Read Replicas in the DB cluster. This functionality can help balance your read workload across multiple Read Replicas in your DB cluster.If a failover occurs, and the Read 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 Read Replicas in the cluster, you can then reconnect to the reader endpoint.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiAZ
Specifies whether the DB cluster has instances in multiple Availability Zones.
- Parameters:
multiAZ
- Specifies 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
Provides the name of the database engine to be used for this DB cluster.
- Parameters:
engine
- Provides the name of the database engine to be used for this DB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
Indicates the database engine version.
- Parameters:
engineVersion
- Indicates the database engine version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestRestorableTime
Specifies the latest time to which a database can be restored with point-in-time restore.
- Parameters:
latestRestorableTime
- Specifies the latest time to which a database can be restored with point-in-time restore.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
port
Specifies the port that the database engine is listening on.
- Parameters:
port
- Specifies the port that the database engine is listening on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
masterUsername
Not supported by Neptune.
- Parameters:
masterUsername
- Not supported by Neptune.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterOptionGroupMemberships
DBCluster.Builder dbClusterOptionGroupMemberships(Collection<DBClusterOptionGroupStatus> dbClusterOptionGroupMemberships) Not supported by Neptune.
- Parameters:
dbClusterOptionGroupMemberships
- Not supported by Neptune.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterOptionGroupMemberships
DBCluster.Builder dbClusterOptionGroupMemberships(DBClusterOptionGroupStatus... dbClusterOptionGroupMemberships) Not supported by Neptune.
- Parameters:
dbClusterOptionGroupMemberships
- Not supported by Neptune.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterOptionGroupMemberships
DBCluster.Builder dbClusterOptionGroupMemberships(Consumer<DBClusterOptionGroupStatus.Builder>... dbClusterOptionGroupMemberships) Not supported by Neptune.
This is a convenience method that creates an instance of theDBClusterOptionGroupStatus.Builder
avoiding the need to create one manually viaDBClusterOptionGroupStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todbClusterOptionGroupMemberships(List<DBClusterOptionGroupStatus>)
.- Parameters:
dbClusterOptionGroupMemberships
- a consumer that will call methods onDBClusterOptionGroupStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
preferredBackupWindow
Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the
BackupRetentionPeriod
.- Parameters:
preferredBackupWindow
- Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by theBackupRetentionPeriod
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preferredMaintenanceWindow
Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- Parameters:
preferredMaintenanceWindow
- Specifies 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.
-
replicationSourceIdentifier
Not supported by Neptune.
- Parameters:
replicationSourceIdentifier
- Not supported by Neptune.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readReplicaIdentifiers
Contains one or more identifiers of the Read Replicas associated with this DB cluster.
- Parameters:
readReplicaIdentifiers
- Contains one or more identifiers of the Read Replicas associated with this DB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readReplicaIdentifiers
Contains one or more identifiers of the Read Replicas associated with this DB cluster.
- Parameters:
readReplicaIdentifiers
- Contains one or more identifiers of the Read Replicas associated with this DB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterMembers
Provides the list of instances that make up the DB cluster.
- Parameters:
dbClusterMembers
- Provides 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
Provides the list of instances that make up the DB cluster.
- Parameters:
dbClusterMembers
- Provides 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
Provides the list of instances that make up the DB cluster.
This is a convenience method that creates an instance of theDBClusterMember.Builder
avoiding the need to create one manually viaDBClusterMember.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todbClusterMembers(List<DBClusterMember>)
.- Parameters:
dbClusterMembers
- a consumer that will call methods onDBClusterMember.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcSecurityGroups
Provides a list of VPC security groups that the DB cluster belongs to.
- Parameters:
vpcSecurityGroups
- Provides 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
Provides a list of VPC security groups that the DB cluster belongs to.
- Parameters:
vpcSecurityGroups
- Provides 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
DBCluster.Builder vpcSecurityGroups(Consumer<VpcSecurityGroupMembership.Builder>... vpcSecurityGroups) Provides a list of VPC security groups that the DB cluster belongs to.
This is a convenience method that creates an instance of theVpcSecurityGroupMembership.Builder
avoiding the need to create one manually viaVpcSecurityGroupMembership.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcSecurityGroups(List<VpcSecurityGroupMembership>)
.- Parameters:
vpcSecurityGroups
- a consumer that will call methods onVpcSecurityGroupMembership.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
hostedZoneId
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
- Parameters:
hostedZoneId
- Specifies the ID 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
Specifies whether the DB cluster is encrypted.
- Parameters:
storageEncrypted
- Specifies whether the DB cluster is encrypted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
If
StorageEncrypted
is true, the Amazon KMS key identifier for the encrypted DB cluster.- Parameters:
kmsKeyId
- IfStorageEncrypted
is true, the Amazon KMS key identifier for the encrypted DB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterResourceId
The Amazon Region-unique, immutable identifier for the DB cluster. This identifier is found in Amazon CloudTrail log entries whenever the Amazon KMS key for the DB cluster is accessed.
- Parameters:
dbClusterResourceId
- The Amazon Region-unique, immutable identifier for the DB cluster. This identifier is found in Amazon CloudTrail log entries whenever the Amazon KMS key for the DB cluster is accessed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterArn
The Amazon Resource Name (ARN) for the DB cluster.
- Parameters:
dbClusterArn
- The Amazon Resource Name (ARN) for the DB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedRoles
Provides a list of the Amazon Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other Amazon services on your behalf.
- Parameters:
associatedRoles
- Provides a list of the Amazon Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other Amazon services on your behalf.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedRoles
Provides a list of the Amazon Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other Amazon services on your behalf.
- Parameters:
associatedRoles
- Provides a list of the Amazon Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other Amazon services on your behalf.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedRoles
Provides a list of the Amazon Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other Amazon services on your behalf.
This is a convenience method that creates an instance of theDBClusterRole.Builder
avoiding the need to create one manually viaDBClusterRole.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassociatedRoles(List<DBClusterRole>)
.- Parameters:
associatedRoles
- a consumer that will call methods onDBClusterRole.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
iamDatabaseAuthenticationEnabled
True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.
- Parameters:
iamDatabaseAuthenticationEnabled
- True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloneGroupId
Identifies the clone group to which the DB cluster is associated.
- Parameters:
cloneGroupId
- Identifies the clone group to which the DB cluster is associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterCreateTime
Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).
- Parameters:
clusterCreateTime
- Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
copyTagsToSnapshot
If set to
true
, tags are copied to any snapshot of the DB cluster that is created.- Parameters:
copyTagsToSnapshot
- If set totrue
, tags are copied to any snapshot of the DB cluster that is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledCloudwatchLogsExports
A list of the log types that this DB cluster is configured to export to CloudWatch Logs. Valid log types are:
audit
(to publish audit logs to CloudWatch) and slowquery (to publish slow-query logs to CloudWatch). See Publishing Neptune logs to Amazon CloudWatch logs.- Parameters:
enabledCloudwatchLogsExports
- A list of the log types that this DB cluster is configured to export to CloudWatch Logs. Valid log types are:audit
(to publish audit logs to CloudWatch) and slowquery (to publish slow-query logs to CloudWatch). See Publishing Neptune logs to Amazon CloudWatch logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledCloudwatchLogsExports
A list of the log types that this DB cluster is configured to export to CloudWatch Logs. Valid log types are:
audit
(to publish audit logs to CloudWatch) and slowquery (to publish slow-query logs to CloudWatch). See Publishing Neptune logs to Amazon CloudWatch logs.- Parameters:
enabledCloudwatchLogsExports
- A list of the log types that this DB cluster is configured to export to CloudWatch Logs. Valid log types are:audit
(to publish audit logs to CloudWatch) and slowquery (to publish slow-query logs to CloudWatch). See Publishing Neptune logs to Amazon CloudWatch logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingModifiedValues
This data type is used as a response element in the
ModifyDBCluster
operation and contains changes that will be applied during the next maintenance window.- Parameters:
pendingModifiedValues
- This data type is used as a response element in theModifyDBCluster
operation and contains changes that will be applied during the next maintenance window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingModifiedValues
default DBCluster.Builder pendingModifiedValues(Consumer<ClusterPendingModifiedValues.Builder> pendingModifiedValues) This data type is used as a response element in the
This is a convenience method that creates an instance of theModifyDBCluster
operation and contains changes that will be applied during the next maintenance window.ClusterPendingModifiedValues.Builder
avoiding the need to create one manually viaClusterPendingModifiedValues.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topendingModifiedValues(ClusterPendingModifiedValues)
.- Parameters:
pendingModifiedValues
- a consumer that will call methods onClusterPendingModifiedValues.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deletionProtection
Indicates whether or not the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled.
- Parameters:
deletionProtection
- Indicates whether or not the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crossAccountClone
If set to
true
, the DB cluster can be cloned across accounts.- Parameters:
crossAccountClone
- If set totrue
, the DB cluster can be cloned across accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automaticRestartTime
Time at which the DB cluster will be automatically restarted.
- Parameters:
automaticRestartTime
- Time at which the DB cluster will be automatically restarted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverlessV2ScalingConfiguration
DBCluster.Builder serverlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationInfo serverlessV2ScalingConfiguration) Shows the scaling configuration for a Neptune Serverless DB cluster.
For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.
- Parameters:
serverlessV2ScalingConfiguration
- Shows the scaling configuration for a Neptune Serverless DB cluster.For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverlessV2ScalingConfiguration
default DBCluster.Builder serverlessV2ScalingConfiguration(Consumer<ServerlessV2ScalingConfigurationInfo.Builder> serverlessV2ScalingConfiguration) Shows the scaling configuration for a Neptune Serverless DB cluster.
For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.
This is a convenience method that creates an instance of theServerlessV2ScalingConfigurationInfo.Builder
avoiding the need to create one manually viaServerlessV2ScalingConfigurationInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserverlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationInfo)
.- Parameters:
serverlessV2ScalingConfiguration
- a consumer that will call methods onServerlessV2ScalingConfigurationInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
globalClusterIdentifier
Contains a user-supplied global database cluster identifier. This identifier is the unique key that identifies a global database.
- Parameters:
globalClusterIdentifier
- Contains a user-supplied global database cluster identifier. This identifier is the unique key that identifies a global database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ioOptimizedNextAllowedModificationTime
DBCluster.Builder ioOptimizedNextAllowedModificationTime(Instant ioOptimizedNextAllowedModificationTime) The next time you can modify the DB cluster to use the
iopt1
storage type.- Parameters:
ioOptimizedNextAllowedModificationTime
- The next time you can modify the DB cluster to use theiopt1
storage type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageType
The storage type used by the DB cluster.
Valid Values:
-
standard
– ( the default ) Provides cost-effective database storage for applications with moderate to small I/O usage. -
iopt1
– Enables I/O-Optimized storage that's designed to meet the needs of I/O-intensive graph workloads that require predictable pricing with low I/O latency and consistent I/O throughput.Neptune I/O-Optimized storage is only available starting with engine release 1.3.0.0.
- Parameters:
storageType
- The storage type used by the DB cluster.Valid Values:
-
standard
– ( the default ) Provides cost-effective database storage for applications with moderate to small I/O usage. -
iopt1
– Enables I/O-Optimized storage that's designed to meet the needs of I/O-intensive graph workloads that require predictable pricing with low I/O latency and consistent I/O throughput.Neptune I/O-Optimized storage is only available starting with engine release 1.3.0.0.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-