public static interface CreateDbInstanceRequest.Builder extends DocDbRequest.Builder, SdkPojo, CopyableBuilder<CreateDbInstanceRequest.Builder,CreateDbInstanceRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateDbInstanceRequest.Builder |
autoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
This parameter does not apply to Amazon DocumentDB.
|
CreateDbInstanceRequest.Builder |
availabilityZone(String availabilityZone)
The Amazon EC2 Availability Zone that the instance is created in.
|
CreateDbInstanceRequest.Builder |
copyTagsToSnapshot(Boolean copyTagsToSnapshot)
A value that indicates whether to copy tags from the DB instance to snapshots of the DB instance.
|
CreateDbInstanceRequest.Builder |
dbClusterIdentifier(String dbClusterIdentifier)
The identifier of the cluster that the instance will belong to.
|
CreateDbInstanceRequest.Builder |
dbInstanceClass(String dbInstanceClass)
The compute and memory capacity of the instance; for example,
db.r5.large. |
CreateDbInstanceRequest.Builder |
dbInstanceIdentifier(String dbInstanceIdentifier)
The instance identifier.
|
CreateDbInstanceRequest.Builder |
enablePerformanceInsights(Boolean enablePerformanceInsights)
A value that indicates whether to enable Performance Insights for the DB Instance.
|
CreateDbInstanceRequest.Builder |
engine(String engine)
The name of the database engine to be used for this instance.
|
CreateDbInstanceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateDbInstanceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateDbInstanceRequest.Builder |
performanceInsightsKMSKeyId(String performanceInsightsKMSKeyId)
The KMS key identifier for encryption of Performance Insights data.
|
CreateDbInstanceRequest.Builder |
preferredMaintenanceWindow(String preferredMaintenanceWindow)
The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
CreateDbInstanceRequest.Builder |
promotionTier(Integer promotionTier)
A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance
after a failure of the existing primary instance.
|
CreateDbInstanceRequest.Builder |
tags(Collection<Tag> tags)
The tags to be assigned to the instance.
|
CreateDbInstanceRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags to be assigned to the instance.
|
CreateDbInstanceRequest.Builder |
tags(Tag... tags)
The tags to be assigned to the instance.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateDbInstanceRequest.Builder dbInstanceIdentifier(String dbInstanceIdentifier)
The instance identifier. This parameter is stored as a lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens.
The first character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: mydbinstance
dbInstanceIdentifier - The instance identifier. This parameter is stored as a lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens.
The first character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: mydbinstance
CreateDbInstanceRequest.Builder dbInstanceClass(String dbInstanceClass)
The compute and memory capacity of the instance; for example, db.r5.large.
dbInstanceClass - The compute and memory capacity of the instance; for example, db.r5.large.CreateDbInstanceRequest.Builder engine(String engine)
The name of the database engine to be used for this instance.
Valid value: docdb
engine - The name of the database engine to be used for this instance.
Valid value: docdb
CreateDbInstanceRequest.Builder availabilityZone(String availabilityZone)
The Amazon EC2 Availability Zone that the instance is created in.
Default: A random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region.
Example: us-east-1d
availabilityZone - The Amazon EC2 Availability Zone that the instance is created in.
Default: A random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region.
Example: us-east-1d
CreateDbInstanceRequest.Builder preferredMaintenanceWindow(String preferredMaintenanceWindow)
The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week.
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
preferredMaintenanceWindow - The time range each week during which system maintenance can occur, in Universal Coordinated Time
(UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week.
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
CreateDbInstanceRequest.Builder autoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
This parameter does not apply to Amazon DocumentDB. Amazon DocumentDB does not perform minor version upgrades regardless of the value set.
Default: false
autoMinorVersionUpgrade - This parameter does not apply to Amazon DocumentDB. Amazon DocumentDB does not perform minor version
upgrades regardless of the value set.
Default: false
CreateDbInstanceRequest.Builder tags(Collection<Tag> tags)
The tags to be assigned to the instance. You can assign up to 10 tags to an instance.
tags - The tags to be assigned to the instance. You can assign up to 10 tags to an instance.CreateDbInstanceRequest.Builder tags(Tag... tags)
The tags to be assigned to the instance. You can assign up to 10 tags to an instance.
tags - The tags to be assigned to the instance. You can assign up to 10 tags to an instance.CreateDbInstanceRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags to be assigned to the instance. You can assign up to 10 tags to an instance.
This is a convenience method that creates an instance of theTag.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 #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) CreateDbInstanceRequest.Builder dbClusterIdentifier(String dbClusterIdentifier)
The identifier of the cluster that the instance will belong to.
dbClusterIdentifier - The identifier of the cluster that the instance will belong to.CreateDbInstanceRequest.Builder copyTagsToSnapshot(Boolean copyTagsToSnapshot)
A value that indicates whether to copy tags from the DB instance to snapshots of the DB instance. By default, tags are not copied.
copyTagsToSnapshot - A value that indicates whether to copy tags from the DB instance to snapshots of the DB instance. By
default, tags are not copied.CreateDbInstanceRequest.Builder promotionTier(Integer promotionTier)
A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after a failure of the existing primary instance.
Default: 1
Valid values: 0-15
promotionTier - A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary
instance after a failure of the existing primary instance.
Default: 1
Valid values: 0-15
CreateDbInstanceRequest.Builder enablePerformanceInsights(Boolean enablePerformanceInsights)
A value that indicates whether to enable Performance Insights for the DB Instance. For more information, see Using Amazon Performance Insights.
enablePerformanceInsights - A value that indicates whether to enable Performance Insights for the DB Instance. For more
information, see Using
Amazon Performance Insights.CreateDbInstanceRequest.Builder performanceInsightsKMSKeyId(String performanceInsightsKMSKeyId)
The KMS key identifier for encryption of Performance Insights data.
The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
If you do not specify a value for PerformanceInsightsKMSKeyId, then Amazon DocumentDB uses your default KMS key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services region.
performanceInsightsKMSKeyId - The KMS key identifier for encryption of Performance Insights data.
The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
If you do not specify a value for PerformanceInsightsKMSKeyId, then Amazon DocumentDB uses your default KMS key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services region.
CreateDbInstanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateDbInstanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.