public static interface SubnetGroup.Builder extends SdkPojo, CopyableBuilder<SubnetGroup.Builder,SubnetGroup>
| Modifier and Type | Method and 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(Consumer<Subnet.Builder>... 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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSubnetGroup.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.
subnets - A list of subnets associated with the subnet group.SubnetGroup.Builder subnets(Consumer<Subnet.Builder>... subnets)
A list of subnets associated with the subnet group.
This is a convenience method that creates an instance of theSubnet.Builder avoiding the need to create one manually via
Subnet.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to #subnets(List.
subnets - a consumer that will call methods on Subnet.Builder#subnets(java.util.Collection) Copyright © 2022. All rights reserved.