Interface GetCustomerGatewayAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetCustomerGatewayAssociationsResponse.Builder,,GetCustomerGatewayAssociationsResponse> NetworkManagerResponse.Builder,SdkBuilder<GetCustomerGatewayAssociationsResponse.Builder,,GetCustomerGatewayAssociationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetCustomerGatewayAssociationsResponse
@Mutable
@NotThreadSafe
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
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
-
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.Builderavoiding the need to create one manually viaCustomerGatewayAssociation.builder().When the
Consumercompletes,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.
-