Interface DescribeCustomerGatewaysResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeCustomerGatewaysResponse.Builder,DescribeCustomerGatewaysResponse>,Ec2Response.Builder,SdkBuilder<DescribeCustomerGatewaysResponse.Builder,DescribeCustomerGatewaysResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeCustomerGatewaysResponse
public static interface DescribeCustomerGatewaysResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeCustomerGatewaysResponse.Builder,DescribeCustomerGatewaysResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeCustomerGatewaysResponse.BuildercustomerGateways(Collection<CustomerGateway> customerGateways)Information about one or more customer gateways.DescribeCustomerGatewaysResponse.BuildercustomerGateways(Consumer<CustomerGateway.Builder>... customerGateways)Information about one or more customer gateways.DescribeCustomerGatewaysResponse.BuildercustomerGateways(CustomerGateway... customerGateways)Information about one or more customer gateways.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
customerGateways
DescribeCustomerGatewaysResponse.Builder customerGateways(Collection<CustomerGateway> customerGateways)
Information about one or more customer gateways.
- Parameters:
customerGateways- Information about one or more customer gateways.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerGateways
DescribeCustomerGatewaysResponse.Builder customerGateways(CustomerGateway... customerGateways)
Information about one or more customer gateways.
- Parameters:
customerGateways- Information about one or more customer gateways.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerGateways
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.Builderavoiding the need to create one manually viaCustomerGateway.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#customerGateways(List.) - Parameters:
customerGateways- a consumer that will call methods onCustomerGateway.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#customerGateways(java.util.Collection)
-
-