public static interface Subnet.Builder extends CopyableBuilder<Subnet.Builder,Subnet>
Modifier and Type | Method and Description |
---|---|
Subnet.Builder |
subnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
Sets the value of the SubnetAvailabilityZone property for this object.
|
default Subnet.Builder |
subnetAvailabilityZone(Consumer<AvailabilityZone.Builder> subnetAvailabilityZone)
Sets the value of the SubnetAvailabilityZone property for this object.
|
Subnet.Builder |
subnetIdentifier(String subnetIdentifier)
Specifies the identifier of the subnet.
|
Subnet.Builder |
subnetStatus(String subnetStatus)
Specifies the status of the subnet.
|
copy
applyMutation, build
Subnet.Builder subnetIdentifier(String subnetIdentifier)
Specifies the identifier of the subnet.
subnetIdentifier
- Specifies the identifier of the subnet.Subnet.Builder subnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
subnetAvailabilityZone
- The new value for the SubnetAvailabilityZone property for this object.default Subnet.Builder subnetAvailabilityZone(Consumer<AvailabilityZone.Builder> subnetAvailabilityZone)
AvailabilityZone.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.Builder
subnetAvailabilityZone(AvailabilityZone)
Subnet.Builder subnetStatus(String subnetStatus)
Specifies the status of the subnet.
subnetStatus
- Specifies the status of the subnet.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.