public static interface CreateVpcResponse.Builder extends Ec2Response.Builder, SdkPojo, 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.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateVpcResponse.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.Builder
vpc(Vpc)
Copyright © 2019. All rights reserved.