Interface DBSubnetGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DBSubnetGroup.Builder,
,DBSubnetGroup> SdkBuilder<DBSubnetGroup.Builder,
,DBSubnetGroup> SdkPojo
- Enclosing class:
DBSubnetGroup
public static interface DBSubnetGroup.Builder
extends SdkPojo, CopyableBuilder<DBSubnetGroup.Builder,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 subnet group.dbSubnetGroupName
(String dbSubnetGroupName) The name of the subnet group.subnetGroupStatus
(String subnetGroupStatus) Provides the status of the subnet group.subnets
(Collection<Subnet> subnets) Detailed information about one or more subnets within a subnet group.subnets
(Consumer<Subnet.Builder>... subnets) Detailed information about one or more subnets within a subnet group.Detailed information about one or more subnets within a subnet group.Provides the virtual private cloud (VPC) ID of the subnet group.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
dbSubnetGroupName
The name of the subnet group.
- Parameters:
dbSubnetGroupName
- The name of the subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSubnetGroupDescription
Provides the description of the subnet group.
- Parameters:
dbSubnetGroupDescription
- Provides the description of the subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
Provides the virtual private cloud (VPC) ID of the subnet group.
- Parameters:
vpcId
- Provides the virtual private cloud (VPC) ID of the subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetGroupStatus
Provides the status of the subnet group.
- Parameters:
subnetGroupStatus
- Provides the status of the subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
Detailed information about one or more subnets within a subnet group.
- Parameters:
subnets
- Detailed information about one or more subnets within a subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
Detailed information about one or more subnets within a subnet group.
- Parameters:
subnets
- Detailed information about one or more subnets within a subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
Detailed information about one or more subnets within a subnet group.
This is a convenience method that creates an instance of theSubnet.Builder
avoiding the need to create one manually viaSubnet.builder()
.When the
Consumer
completes,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.
-