Interface DisassociateCustomerGatewayResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DisassociateCustomerGatewayResponse.Builder,,DisassociateCustomerGatewayResponse> NetworkManagerResponse.Builder,SdkBuilder<DisassociateCustomerGatewayResponse.Builder,,DisassociateCustomerGatewayResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DisassociateCustomerGatewayResponse
@Mutable
@NotThreadSafe
public static interface DisassociateCustomerGatewayResponse.Builder
extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<DisassociateCustomerGatewayResponse.Builder,DisassociateCustomerGatewayResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncustomerGatewayAssociation(Consumer<CustomerGatewayAssociation.Builder> customerGatewayAssociation) Information about the customer gateway association.customerGatewayAssociation(CustomerGatewayAssociation customerGatewayAssociation) Information about the customer gateway association.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
customerGatewayAssociation
DisassociateCustomerGatewayResponse.Builder customerGatewayAssociation(CustomerGatewayAssociation customerGatewayAssociation) Information about the customer gateway association.
- Parameters:
customerGatewayAssociation- Information about the customer gateway association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerGatewayAssociation
default DisassociateCustomerGatewayResponse.Builder customerGatewayAssociation(Consumer<CustomerGatewayAssociation.Builder> customerGatewayAssociation) Information about 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:
-