public static interface CreateDbSubnetGroupRequest.Builder extends RdsRequest.Builder, CopyableBuilder<CreateDbSubnetGroupRequest.Builder,CreateDbSubnetGroupRequest>
Modifier and Type | Method and Description |
---|---|
CreateDbSubnetGroupRequest.Builder |
dbSubnetGroupDescription(String dbSubnetGroupDescription)
The description for the DB subnet group.
|
CreateDbSubnetGroupRequest.Builder |
dbSubnetGroupName(String dbSubnetGroupName)
The name for the DB subnet group.
|
CreateDbSubnetGroupRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateDbSubnetGroupRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateDbSubnetGroupRequest.Builder |
subnetIds(Collection<String> subnetIds)
The EC2 Subnet IDs for the DB subnet group.
|
CreateDbSubnetGroupRequest.Builder |
subnetIds(String... subnetIds)
The EC2 Subnet IDs for the DB subnet group.
|
CreateDbSubnetGroupRequest.Builder |
tags(Collection<Tag> tags)
Sets the value of the Tags property for this object.
|
CreateDbSubnetGroupRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Sets the value of the Tags property for this object.
|
CreateDbSubnetGroupRequest.Builder |
tags(Tag... tags)
Sets the value of the Tags property for this object.
|
build
overrideConfiguration
copy
applyMutation, build
CreateDbSubnetGroupRequest.Builder dbSubnetGroupName(String dbSubnetGroupName)
The name for the DB subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default.
Example: mySubnetgroup
dbSubnetGroupName
- The name for the DB subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default.
Example: mySubnetgroup
CreateDbSubnetGroupRequest.Builder dbSubnetGroupDescription(String dbSubnetGroupDescription)
The description for the DB subnet group.
dbSubnetGroupDescription
- The description for the DB subnet group.CreateDbSubnetGroupRequest.Builder subnetIds(Collection<String> subnetIds)
The EC2 Subnet IDs for the DB subnet group.
subnetIds
- The EC2 Subnet IDs for the DB subnet group.CreateDbSubnetGroupRequest.Builder subnetIds(String... subnetIds)
The EC2 Subnet IDs for the DB subnet group.
subnetIds
- The EC2 Subnet IDs for the DB subnet group.CreateDbSubnetGroupRequest.Builder tags(Collection<Tag> tags)
tags
- The new value for the Tags property for this object.CreateDbSubnetGroupRequest.Builder tags(Tag... tags)
tags
- The new value for the Tags property for this object.CreateDbSubnetGroupRequest.Builder tags(Consumer<Tag.Builder>... tags)
List.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)
CreateDbSubnetGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateDbSubnetGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.