public static interface Subnet.Builder extends CopyableBuilder<Subnet.Builder,Subnet>
| Modifier and Type | Method and Description |
|---|---|
Subnet.Builder |
subnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
The Availability Zone of the subnet.
|
default Subnet.Builder |
subnetAvailabilityZone(Consumer<AvailabilityZone.Builder> subnetAvailabilityZone)
The Availability Zone of the subnet.
|
Subnet.Builder |
subnetIdentifier(String subnetIdentifier)
The subnet identifier.
|
Subnet.Builder |
subnetStatus(String subnetStatus)
The status of the subnet.
|
copyapply, buildSubnet.Builder subnetIdentifier(String subnetIdentifier)
The subnet identifier.
subnetIdentifier - The subnet identifier.Subnet.Builder subnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
The Availability Zone of the subnet.
subnetAvailabilityZone - The Availability Zone of the subnet.default Subnet.Builder subnetAvailabilityZone(Consumer<AvailabilityZone.Builder> subnetAvailabilityZone)
The Availability Zone of the subnet.
This is a convenience that creates an instance of theAvailabilityZone.Builder avoiding the need to
create one manually via AvailabilityZone.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to subnetAvailabilityZone(AvailabilityZone).subnetAvailabilityZone - a consumer that will call methods on AvailabilityZone.BuildersubnetAvailabilityZone(AvailabilityZone)Subnet.Builder subnetStatus(String subnetStatus)
The status of the subnet.
subnetStatus - The status of the subnet.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.