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 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) 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 © 2022. All rights reserved.