public static interface CreateCustomerGatewayResponse.Builder extends Ec2Response.Builder, SdkPojo, 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, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateCustomerGatewayResponse.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 method 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.BuildercustomerGateway(CustomerGateway)Copyright © 2022. All rights reserved.