public static interface Subnet.Builder extends SdkPojo, 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.
|
default Subnet.Builder |
subnetOutpost(Consumer<SubnetOutpost.Builder> subnetOutpost)
The outpost ARN of the subnet.
|
Subnet.Builder |
subnetOutpost(SubnetOutpost subnetOutpost)
The outpost ARN of the subnet.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, 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)Subnet.Builder subnetOutpost(SubnetOutpost subnetOutpost)
The outpost ARN of the subnet.
subnetOutpost - The outpost ARN of the subnet.default Subnet.Builder subnetOutpost(Consumer<SubnetOutpost.Builder> subnetOutpost)
The outpost ARN of the subnet.
This is a convenience that creates an instance of theSubnetOutpost.Builder avoiding the need to
create one manually via SubnetOutpost.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to subnetOutpost(SubnetOutpost).subnetOutpost - a consumer that will call methods on SubnetOutpost.BuildersubnetOutpost(SubnetOutpost)Copyright © 2021. All rights reserved.