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 |
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 |
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 |
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 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 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 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 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 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 #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) 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 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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateDbInstanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.