public static interface DescribeCustomerGatewaysResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeCustomerGatewaysResponse.Builder,DescribeCustomerGatewaysResponse>
Modifier and Type | Method and Description |
---|---|
DescribeCustomerGatewaysResponse.Builder |
customerGateways(Collection<CustomerGateway> customerGateways)
Information about one or more customer gateways.
|
DescribeCustomerGatewaysResponse.Builder |
customerGateways(Consumer<CustomerGateway.Builder>... customerGateways)
Information about one or more customer gateways.
|
DescribeCustomerGatewaysResponse.Builder |
customerGateways(CustomerGateway... customerGateways)
Information about one or more customer gateways.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeCustomerGatewaysResponse.Builder customerGateways(Collection<CustomerGateway> customerGateways)
Information about one or more customer gateways.
customerGateways
- Information about one or more customer gateways.DescribeCustomerGatewaysResponse.Builder customerGateways(CustomerGateway... customerGateways)
Information about one or more customer gateways.
customerGateways
- Information about one or more customer gateways.DescribeCustomerGatewaysResponse.Builder customerGateways(Consumer<CustomerGateway.Builder>... customerGateways)
Information about one or more customer gateways.
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 #customerGateways(List
.
customerGateways
- a consumer that will call methods on
CustomerGateway.Builder
#customerGateways(java.util.Collection)
Copyright © 2023. All rights reserved.