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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetCustomerGatewayAssociationsResponse.BuildercustomerGatewayAssociations(Collection<CustomerGatewayAssociation> customerGatewayAssociations)The customer gateway associations.GetCustomerGatewayAssociationsResponse.BuildercustomerGatewayAssociations(Consumer<CustomerGatewayAssociation.Builder>... customerGatewayAssociations)The customer gateway associations.GetCustomerGatewayAssociationsResponse.BuildercustomerGatewayAssociations(CustomerGatewayAssociation... customerGatewayAssociations)The customer gateway associations.GetCustomerGatewayAssociationsResponse.BuildernextToken(String nextToken)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 Detail
-
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 to#customerGatewayAssociations(List.) - 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:
#customerGatewayAssociations(java.util.Collection)
-
nextToken
GetCustomerGatewayAssociationsResponse.Builder nextToken(String 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.
-
-