public static interface DBSubnetGroup.Builder extends SdkPojo, CopyableBuilder<DBSubnetGroup.Builder,DBSubnetGroup>
| Modifier and Type | Method and Description |
|---|---|
DBSubnetGroup.Builder |
dbSubnetGroupArn(String dbSubnetGroupArn)
The Amazon Resource Name (ARN) for the DB subnet group.
|
DBSubnetGroup.Builder |
dbSubnetGroupDescription(String dbSubnetGroupDescription)
Provides the description of the DB subnet group.
|
DBSubnetGroup.Builder |
dbSubnetGroupName(String dbSubnetGroupName)
The name of the DB subnet group.
|
DBSubnetGroup.Builder |
subnetGroupStatus(String subnetGroupStatus)
Provides the status of the DB subnet group.
|
DBSubnetGroup.Builder |
subnets(Collection<Subnet> subnets)
Contains a list of
Subnet elements. |
DBSubnetGroup.Builder |
subnets(Consumer<Subnet.Builder>... subnets)
Contains a list of
Subnet elements. |
DBSubnetGroup.Builder |
subnets(Subnet... subnets)
Contains a list of
Subnet elements. |
DBSubnetGroup.Builder |
supportedNetworkTypes(Collection<String> supportedNetworkTypes)
The network type of the DB subnet group.
|
DBSubnetGroup.Builder |
supportedNetworkTypes(String... supportedNetworkTypes)
The network type of the DB subnet group.
|
DBSubnetGroup.Builder |
vpcId(String vpcId)
Provides the VpcId of the DB subnet group.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDBSubnetGroup.Builder dbSubnetGroupName(String dbSubnetGroupName)
The name of the DB subnet group.
dbSubnetGroupName - The name of the DB subnet group.DBSubnetGroup.Builder dbSubnetGroupDescription(String dbSubnetGroupDescription)
Provides the description of the DB subnet group.
dbSubnetGroupDescription - Provides the description of the DB subnet group.DBSubnetGroup.Builder vpcId(String vpcId)
Provides the VpcId of the DB subnet group.
vpcId - Provides the VpcId of the DB subnet group.DBSubnetGroup.Builder subnetGroupStatus(String subnetGroupStatus)
Provides the status of the DB subnet group.
subnetGroupStatus - Provides the status of the DB subnet group.DBSubnetGroup.Builder subnets(Collection<Subnet> subnets)
Contains a list of Subnet elements.
subnets - Contains a list of Subnet elements.DBSubnetGroup.Builder subnets(Subnet... subnets)
Contains a list of Subnet elements.
subnets - Contains a list of Subnet elements.DBSubnetGroup.Builder subnets(Consumer<Subnet.Builder>... subnets)
Contains a list of Subnet elements.
Subnet.Builder avoiding the need to create one manually via
Subnet.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to #subnets(List.
subnets - a consumer that will call methods on Subnet.Builder#subnets(java.util.Collection) DBSubnetGroup.Builder dbSubnetGroupArn(String dbSubnetGroupArn)
The Amazon Resource Name (ARN) for the DB subnet group.
dbSubnetGroupArn - The Amazon Resource Name (ARN) for the DB subnet group.DBSubnetGroup.Builder supportedNetworkTypes(Collection<String> supportedNetworkTypes)
The network type of the DB subnet group.
Valid values:
IPV4
DUAL
A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (
DUAL).
For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide.
supportedNetworkTypes - The network type of the DB subnet group.
Valid values:
IPV4
DUAL
A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (
DUAL).
For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide.
DBSubnetGroup.Builder supportedNetworkTypes(String... supportedNetworkTypes)
The network type of the DB subnet group.
Valid values:
IPV4
DUAL
A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (
DUAL).
For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide.
supportedNetworkTypes - The network type of the DB subnet group.
Valid values:
IPV4
DUAL
A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (
DUAL).
For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide.
Copyright © 2023. All rights reserved.