public static interface CreateCustomerGatewayResponse.Builder extends Ec2Response.Builder, CopyableBuilder<CreateCustomerGatewayResponse.Builder,CreateCustomerGatewayResponse>
Modifier and Type | Method and Description |
---|---|
default CreateCustomerGatewayResponse.Builder |
customerGateway(Consumer<CustomerGateway.Builder> customerGateway)
Information about the customer gateway.
|
CreateCustomerGatewayResponse.Builder |
customerGateway(CustomerGateway customerGateway)
Information about the customer gateway.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CreateCustomerGatewayResponse.Builder customerGateway(CustomerGateway customerGateway)
Information about the customer gateway.
customerGateway
- Information about the customer gateway.default CreateCustomerGatewayResponse.Builder customerGateway(Consumer<CustomerGateway.Builder> customerGateway)
Information about the customer gateway.
This is a convenience that creates an instance of theCustomerGateway.Builder
avoiding the need to
create one manually via CustomerGateway.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to customerGateway(CustomerGateway)
.customerGateway
- a consumer that will call methods on CustomerGateway.Builder
customerGateway(CustomerGateway)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.