public static interface Subnet.Builder extends CopyableBuilder<Subnet.Builder,Subnet>
| Modifier and Type | Method and Description |
|---|---|
Subnet.Builder |
subnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
The Availability Zone associated with the subnet.
|
default Subnet.Builder |
subnetAvailabilityZone(Consumer<AvailabilityZone.Builder> subnetAvailabilityZone)
The Availability Zone associated with the subnet.
|
Subnet.Builder |
subnetIdentifier(String subnetIdentifier)
The unique identifier for the subnet.
|
copyapply, buildSubnet.Builder subnetIdentifier(String subnetIdentifier)
The unique identifier for the subnet.
subnetIdentifier - The unique identifier for the subnet.Subnet.Builder subnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
The Availability Zone associated with the subnet.
subnetAvailabilityZone - The Availability Zone associated with the subnet.default Subnet.Builder subnetAvailabilityZone(Consumer<AvailabilityZone.Builder> subnetAvailabilityZone)
The Availability Zone associated with 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)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.