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