CopyableBuilder<SubnetGroup.Builder,SubnetGroup>
, SdkBuilder<SubnetGroup.Builder,SubnetGroup>
public static interface SubnetGroup.Builder extends CopyableBuilder<SubnetGroup.Builder,SubnetGroup>
Modifier and Type | Method | Description |
---|---|---|
SubnetGroup.Builder |
description(String description) |
The description of the subnet group.
|
SubnetGroup.Builder |
subnetGroupName(String subnetGroupName) |
The name of the subnet group.
|
SubnetGroup.Builder |
subnets(Collection<Subnet> subnets) |
A list of subnets associated with the subnet group.
|
SubnetGroup.Builder |
subnets(Subnet... subnets) |
A list of subnets associated with the subnet group.
|
SubnetGroup.Builder |
vpcId(String vpcId) |
The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group.
|
copy
apply, build
SubnetGroup.Builder subnetGroupName(String subnetGroupName)
The name of the subnet group.
subnetGroupName
- The name of the subnet group.SubnetGroup.Builder description(String description)
The description of the subnet group.
description
- The description of the subnet group.SubnetGroup.Builder vpcId(String vpcId)
The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group.
vpcId
- The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group.SubnetGroup.Builder subnets(Collection<Subnet> subnets)
A list of subnets associated with the subnet group.
subnets
- A list of subnets associated with the subnet group.SubnetGroup.Builder subnets(Subnet... subnets)
A list of subnets associated with the subnet group.
NOTE: This method appends the values to the existing list (if any). Use
#setSubnets(java.util.Collection)
or #withSubnets(java.util.Collection)
if you want to
override the existing values.
subnets
- A list of subnets associated with the subnet group.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.