Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
AwsSubnet . |
Modifier and Type | Method and Description |
---|---|
AwsSubnet |
build() |
AwsSubnet.Builder |
setAvailabilityZone(java.lang.String availabilityZone)
The availability zone this subnet is in, which should be the region name plus
one extra letter (ex.
|
AwsSubnet.Builder |
setConnectedAccountId(java.lang.String connectedAccountId)
The connected account ID this subnet is accessible through.
|
AwsSubnet.Builder |
setIsCompatible(java.lang.Boolean isCompatible)
Flag indicating whether this subnet is compatible.
|
AwsSubnet.Builder |
setName(java.lang.String name)
Optional field (may not be provided by AWS), indicates the found name tag for
the subnet.
|
AwsSubnet.Builder |
setRegionName(java.lang.String regionName)
The region this subnet is in, usually in the form of country code, general
location, and a number (ex.
|
AwsSubnet.Builder |
setSubnetCidrBlock(java.lang.String subnetCidrBlock)
The CIDR block of the subnet, in the form of '#.#.#.#/#'.
|
AwsSubnet.Builder |
setSubnetId(java.lang.String subnetId)
The subnet ID in AWS, provided in the form 'subnet-######'.
|
AwsSubnet.Builder |
setVpcCidrBlock(java.lang.String vpcCidrBlock)
The CIDR block of the VPC, in the form of '#.#.#.#/#'.
|
AwsSubnet.Builder |
setVpcId(java.lang.String vpcId)
The VPC ID the subnet resides in within AWS.
|
public Builder()
AwsSubnet
.public AwsSubnet.Builder setConnectedAccountId(java.lang.String connectedAccountId)
connectedAccountId
- New value for the property.public AwsSubnet.Builder setRegionName(java.lang.String regionName)
regionName
- New value for the property.public AwsSubnet.Builder setAvailabilityZone(java.lang.String availabilityZone)
availabilityZone
- New value for the property.public AwsSubnet.Builder setSubnetId(java.lang.String subnetId)
subnetId
- New value for the property.public AwsSubnet.Builder setSubnetCidrBlock(java.lang.String subnetCidrBlock)
subnetCidrBlock
- New value for the property.public AwsSubnet.Builder setIsCompatible(java.lang.Boolean isCompatible)
isCompatible
- New value for the property.public AwsSubnet.Builder setVpcId(java.lang.String vpcId)
vpcId
- New value for the property.public AwsSubnet.Builder setVpcCidrBlock(java.lang.String vpcCidrBlock)
vpcCidrBlock
- New value for the property.public AwsSubnet.Builder setName(java.lang.String name)
name
- New value for the property.public AwsSubnet build()