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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsRdsDbSubnetGroup.BuilderdbSubnetGroupArn(String dbSubnetGroupArn)The ARN of the subnet group.AwsRdsDbSubnetGroup.BuilderdbSubnetGroupDescription(String dbSubnetGroupDescription)The description of the subnet group.AwsRdsDbSubnetGroup.BuilderdbSubnetGroupName(String dbSubnetGroupName)The name of the subnet group.AwsRdsDbSubnetGroup.BuildersubnetGroupStatus(String subnetGroupStatus)The status of the subnet group.AwsRdsDbSubnetGroup.Buildersubnets(Collection<AwsRdsDbSubnetGroupSubnet> subnets)A list of subnets in the subnet group.AwsRdsDbSubnetGroup.Buildersubnets(Consumer<AwsRdsDbSubnetGroupSubnet.Builder>... subnets)A list of subnets in the subnet group.AwsRdsDbSubnetGroup.Buildersubnets(AwsRdsDbSubnetGroupSubnet... subnets)A list of subnets in the subnet group.AwsRdsDbSubnetGroup.BuildervpcId(String vpcId)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 Detail
-
dbSubnetGroupName
AwsRdsDbSubnetGroup.Builder dbSubnetGroupName(String 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
AwsRdsDbSubnetGroup.Builder dbSubnetGroupDescription(String 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
AwsRdsDbSubnetGroup.Builder vpcId(String 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
AwsRdsDbSubnetGroup.Builder subnetGroupStatus(String 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
AwsRdsDbSubnetGroup.Builder subnets(Collection<AwsRdsDbSubnetGroupSubnet> 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
AwsRdsDbSubnetGroup.Builder subnets(AwsRdsDbSubnetGroupSubnet... 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
AwsRdsDbSubnetGroup.Builder subnets(Consumer<AwsRdsDbSubnetGroupSubnet.Builder>... subnets)
A list of subnets in the subnet group.
This is a convenience method that creates an instance of theAwsRdsDbSubnetGroupSubnet.Builderavoiding the need to create one manually viaAwsRdsDbSubnetGroupSubnet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#subnets(List.) - 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:
#subnets(java.util.Collection)
-
dbSubnetGroupArn
AwsRdsDbSubnetGroup.Builder dbSubnetGroupArn(String 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.
-
-