Interface AssociateCustomerGatewayResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AssociateCustomerGatewayResponse.Builder,AssociateCustomerGatewayResponse>,NetworkManagerResponse.Builder,SdkBuilder<AssociateCustomerGatewayResponse.Builder,AssociateCustomerGatewayResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- AssociateCustomerGatewayResponse
public static interface AssociateCustomerGatewayResponse.Builder extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<AssociateCustomerGatewayResponse.Builder,AssociateCustomerGatewayResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AssociateCustomerGatewayResponse.BuildercustomerGatewayAssociation(Consumer<CustomerGatewayAssociation.Builder> customerGatewayAssociation)The customer gateway association.AssociateCustomerGatewayResponse.BuildercustomerGatewayAssociation(CustomerGatewayAssociation customerGatewayAssociation)The customer gateway association.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerResponse.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
-
customerGatewayAssociation
AssociateCustomerGatewayResponse.Builder customerGatewayAssociation(CustomerGatewayAssociation customerGatewayAssociation)
The customer gateway association.
- Parameters:
customerGatewayAssociation- The customer gateway association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerGatewayAssociation
default AssociateCustomerGatewayResponse.Builder customerGatewayAssociation(Consumer<CustomerGatewayAssociation.Builder> customerGatewayAssociation)
The customer gateway association.
This is a convenience method that creates an instance of theCustomerGatewayAssociation.Builderavoiding the need to create one manually viaCustomerGatewayAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomerGatewayAssociation(CustomerGatewayAssociation).- Parameters:
customerGatewayAssociation- a consumer that will call methods onCustomerGatewayAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
customerGatewayAssociation(CustomerGatewayAssociation)
-
-