Interface CreateCustomerGatewayResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateCustomerGatewayResponse.Builder,CreateCustomerGatewayResponse>
,Ec2Response.Builder
,SdkBuilder<CreateCustomerGatewayResponse.Builder,CreateCustomerGatewayResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreateCustomerGatewayResponse
public static interface CreateCustomerGatewayResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateCustomerGatewayResponse.Builder,CreateCustomerGatewayResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateCustomerGatewayResponse.Builder
customerGateway(Consumer<CustomerGateway.Builder> customerGateway)
Information about the customer gateway.CreateCustomerGatewayResponse.Builder
customerGateway(CustomerGateway customerGateway)
Information about the customer gateway.-
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
-
customerGateway
CreateCustomerGatewayResponse.Builder customerGateway(CustomerGateway customerGateway)
Information about the customer gateway.
- Parameters:
customerGateway
- Information about the customer gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerGateway
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 viaCustomerGateway.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomerGateway(CustomerGateway)
.- Parameters:
customerGateway
- 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:
customerGateway(CustomerGateway)
-
-