public static interface SubnetGroup.Builder extends SdkPojo, CopyableBuilder<SubnetGroup.Builder,SubnetGroup>
| Modifier and Type | Method and Description |
|---|---|
SubnetGroup.Builder |
arn(String arn)
The ARN (Amazon Resource Name) of the subnet group.
|
SubnetGroup.Builder |
description(String description)
A description of the subnet group
|
SubnetGroup.Builder |
name(String name)
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 name(String name)
The name of the subnet group
name - The name of the subnet groupSubnetGroup.Builder description(String description)
A description of the subnet group
description - A description of the subnet groupSubnetGroup.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 that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #subnets(List) .subnets - a consumer that will call methods on List.Builder #subnets(List) SubnetGroup.Builder arn(String arn)
The ARN (Amazon Resource Name) of the subnet group.
arn - The ARN (Amazon Resource Name) of the subnet group.Copyright © 2021. All rights reserved.