Interface AwsRdsDbSubnetGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsRdsDbSubnetGroup.Builder,
,AwsRdsDbSubnetGroup> SdkBuilder<AwsRdsDbSubnetGroup.Builder,
,AwsRdsDbSubnetGroup> SdkPojo
- Enclosing class:
AwsRdsDbSubnetGroup
public static interface AwsRdsDbSubnetGroup.Builder
extends SdkPojo, CopyableBuilder<AwsRdsDbSubnetGroup.Builder,AwsRdsDbSubnetGroup>
-
Method Summary
Modifier and TypeMethodDescriptiondbSubnetGroupArn
(String dbSubnetGroupArn) The ARN of the subnet group.dbSubnetGroupDescription
(String dbSubnetGroupDescription) The description of the subnet group.dbSubnetGroupName
(String dbSubnetGroupName) The name of the subnet group.subnetGroupStatus
(String subnetGroupStatus) The status of the subnet group.subnets
(Collection<AwsRdsDbSubnetGroupSubnet> subnets) A list of subnets in the subnet group.subnets
(Consumer<AwsRdsDbSubnetGroupSubnet.Builder>... subnets) A list of subnets in the subnet group.subnets
(AwsRdsDbSubnetGroupSubnet... subnets) A list of subnets in the subnet group.The 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
The description of the subnet group.
- Parameters:
dbSubnetGroupDescription
- The description of the subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
The VPC ID of the subnet group.
- Parameters:
vpcId
- The VPC ID of the subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetGroupStatus
The status of the subnet group.
- Parameters:
subnetGroupStatus
- The status of the subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
A list of subnets in the subnet group.
- Parameters:
subnets
- A list of subnets in the subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
A list of subnets in the subnet group.
- Parameters:
subnets
- A list of subnets in the subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
A list of subnets in the subnet group.
This is a convenience method that creates an instance of theAwsRdsDbSubnetGroupSubnet.Builder
avoiding the need to create one manually viaAwsRdsDbSubnetGroupSubnet.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubnets(List<AwsRdsDbSubnetGroupSubnet>)
.- Parameters:
subnets
- a consumer that will call methods onAwsRdsDbSubnetGroupSubnet.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dbSubnetGroupArn
The ARN of the subnet group.
- Parameters:
dbSubnetGroupArn
- The ARN of the subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-