Interface GetCustomerGatewayAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetCustomerGatewayAssociationsResponse.Builder,
,GetCustomerGatewayAssociationsResponse> NetworkManagerResponse.Builder
,SdkBuilder<GetCustomerGatewayAssociationsResponse.Builder,
,GetCustomerGatewayAssociationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetCustomerGatewayAssociationsResponse
public static interface GetCustomerGatewayAssociationsResponse.Builder
extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<GetCustomerGatewayAssociationsResponse.Builder,GetCustomerGatewayAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncustomerGatewayAssociations
(Collection<CustomerGatewayAssociation> customerGatewayAssociations) The customer gateway associations.customerGatewayAssociations
(Consumer<CustomerGatewayAssociation.Builder>... customerGatewayAssociations) The customer gateway associations.customerGatewayAssociations
(CustomerGatewayAssociation... customerGatewayAssociations) The customer gateway associations.The token for the next page of results.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 Details
-
customerGatewayAssociations
GetCustomerGatewayAssociationsResponse.Builder customerGatewayAssociations(Collection<CustomerGatewayAssociation> customerGatewayAssociations) The customer gateway associations.
- Parameters:
customerGatewayAssociations
- The customer gateway associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerGatewayAssociations
GetCustomerGatewayAssociationsResponse.Builder customerGatewayAssociations(CustomerGatewayAssociation... customerGatewayAssociations) The customer gateway associations.
- Parameters:
customerGatewayAssociations
- The customer gateway associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerGatewayAssociations
GetCustomerGatewayAssociationsResponse.Builder customerGatewayAssociations(Consumer<CustomerGatewayAssociation.Builder>... customerGatewayAssociations) The customer gateway associations.
This is a convenience method that creates an instance of theCustomerGatewayAssociation.Builder
avoiding the need to create one manually viaCustomerGatewayAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomerGatewayAssociations(List<CustomerGatewayAssociation>)
.- Parameters:
customerGatewayAssociations
- 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:
-
nextToken
The token for the next page of results.
- Parameters:
nextToken
- The token for the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-