public static interface CreateSubnetResponse.Builder extends EC2Response.Builder, CopyableBuilder<CreateSubnetResponse.Builder,CreateSubnetResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateSubnetResponse.Builder |
subnet(Consumer<Subnet.Builder> subnet)
Information about the subnet.
|
CreateSubnetResponse.Builder |
subnet(Subnet subnet)
Information about the subnet.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildCreateSubnetResponse.Builder subnet(Subnet subnet)
Information about the subnet.
subnet - Information about the subnet.default CreateSubnetResponse.Builder subnet(Consumer<Subnet.Builder> subnet)
Information about the subnet.
This is a convenience that creates an instance of theSubnet.Builder avoiding the need to create one
manually via Subnet.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to subnet(Subnet).subnet - a consumer that will call methods on Subnet.Buildersubnet(Subnet)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.