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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateDBSubnetGroupRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.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
requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.CreateDBSubnetGroupRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.