Interface DBSubnetGroup.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DBSubnetGroup.Builder,,DBSubnetGroup> SdkBuilder<DBSubnetGroup.Builder,,DBSubnetGroup> SdkPojo
- Enclosing class:
DBSubnetGroup
-
Method Summary
Modifier and TypeMethodDescriptiondbSubnetGroupArn(String dbSubnetGroupArn) The Amazon Resource Name (ARN) for the DB subnet group.dbSubnetGroupDescription(String dbSubnetGroupDescription) Provides the description of the DB subnet group.dbSubnetGroupName(String dbSubnetGroupName) The name of the DB subnet group.subnetGroupStatus(String subnetGroupStatus) Provides the status of the DB subnet group.subnets(Collection<Subnet> subnets) Contains a list ofSubnetelements.subnets(Consumer<Subnet.Builder>... subnets) Contains a list ofSubnetelements.Contains a list ofSubnetelements.supportedNetworkTypes(String... supportedNetworkTypes) The network type of the DB subnet group.supportedNetworkTypes(Collection<String> supportedNetworkTypes) The network type of the DB subnet group.Provides the VpcId of the DB subnet group.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
dbSubnetGroupName
The name of the DB subnet group.
- Parameters:
dbSubnetGroupName- The name of the DB subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSubnetGroupDescription
Provides the description of the DB subnet group.
- Parameters:
dbSubnetGroupDescription- Provides the description of the DB subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
Provides the VpcId of the DB subnet group.
- Parameters:
vpcId- Provides the VpcId of the DB subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetGroupStatus
Provides the status of the DB subnet group.
- Parameters:
subnetGroupStatus- Provides the status of the DB subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
Contains a list of
Subnetelements. The list of subnets shown here might not reflect the current state of your VPC. For the most up-to-date information, we recommend checking your VPC configuration directly.- Parameters:
subnets- Contains a list ofSubnetelements. The list of subnets shown here might not reflect the current state of your VPC. For the most up-to-date information, we recommend checking your VPC configuration directly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
Contains a list of
Subnetelements. The list of subnets shown here might not reflect the current state of your VPC. For the most up-to-date information, we recommend checking your VPC configuration directly.- Parameters:
subnets- Contains a list ofSubnetelements. The list of subnets shown here might not reflect the current state of your VPC. For the most up-to-date information, we recommend checking your VPC configuration directly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
Contains a list of
This is a convenience method that creates an instance of theSubnetelements. The list of subnets shown here might not reflect the current state of your VPC. For the most up-to-date information, we recommend checking your VPC configuration directly.Subnet.Builderavoiding the need to create one manually viaSubnet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubnets(List<Subnet>).- Parameters:
subnets- a consumer that will call methods onSubnet.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dbSubnetGroupArn
The Amazon Resource Name (ARN) for the DB subnet group.
- Parameters:
dbSubnetGroupArn- The Amazon Resource Name (ARN) for the DB subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedNetworkTypes
The network type of the DB subnet group.
Valid values:
-
IPV4 -
DUAL
A
DBSubnetGroupcan 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.
- Parameters:
supportedNetworkTypes- The network type of the DB subnet group.Valid values:
-
IPV4 -
DUAL
A
DBSubnetGroupcan 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
supportedNetworkTypes
The network type of the DB subnet group.
Valid values:
-
IPV4 -
DUAL
A
DBSubnetGroupcan 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.
- Parameters:
supportedNetworkTypes- The network type of the DB subnet group.Valid values:
-
IPV4 -
DUAL
A
DBSubnetGroupcan 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-