public static final class VpcInfoSubnets.Builder
extends java.lang.Object
VpcInfoSubnets
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
VpcInfoSubnets . |
Modifier and Type | Method and Description |
---|---|
VpcInfoSubnets |
build() |
VpcInfoSubnets.Builder |
setCidrBlock(java.lang.String cidrBlock)
The overall CIDR block of the VPC.
|
VpcInfoSubnets.Builder |
setDescription(java.lang.String description)
The description of the VPC; usually it's name or id.
|
VpcInfoSubnets.Builder |
setSubnets(java.util.List<SubnetInfo> subnets) |
VpcInfoSubnets.Builder |
setVpcId(java.lang.String vpcId)
The ID of the VPC these subnets belong to.
|
public Builder()
VpcInfoSubnets
.public VpcInfoSubnets.Builder setVpcId(java.lang.String vpcId)
vpcId
- New value for the property.public VpcInfoSubnets.Builder setCidrBlock(java.lang.String cidrBlock)
cidrBlock
- New value for the property.public VpcInfoSubnets.Builder setDescription(java.lang.String description)
description
- New value for the property.public VpcInfoSubnets.Builder setSubnets(java.util.List<SubnetInfo> subnets)
subnets
- New value for the property.public VpcInfoSubnets build()