Interface GetTransitGatewayPolicyTableAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetTransitGatewayPolicyTableAssociationsResponse.Builder,
,GetTransitGatewayPolicyTableAssociationsResponse> Ec2Response.Builder
,SdkBuilder<GetTransitGatewayPolicyTableAssociationsResponse.Builder,
,GetTransitGatewayPolicyTableAssociationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetTransitGatewayPolicyTableAssociationsResponse
public static interface GetTransitGatewayPolicyTableAssociationsResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetTransitGatewayPolicyTableAssociationsResponse.Builder,GetTransitGatewayPolicyTableAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassociations
(Collection<TransitGatewayPolicyTableAssociation> associations) Returns details about the transit gateway policy table association.associations
(Consumer<TransitGatewayPolicyTableAssociation.Builder>... associations) Returns details about the transit gateway policy table association.associations
(TransitGatewayPolicyTableAssociation... associations) Returns details about the transit gateway policy table association.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.ec2.model.Ec2Response.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
-
associations
GetTransitGatewayPolicyTableAssociationsResponse.Builder associations(Collection<TransitGatewayPolicyTableAssociation> associations) Returns details about the transit gateway policy table association.
- Parameters:
associations
- Returns details about the transit gateway policy table association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
GetTransitGatewayPolicyTableAssociationsResponse.Builder associations(TransitGatewayPolicyTableAssociation... associations) Returns details about the transit gateway policy table association.
- Parameters:
associations
- Returns details about the transit gateway policy table association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
GetTransitGatewayPolicyTableAssociationsResponse.Builder associations(Consumer<TransitGatewayPolicyTableAssociation.Builder>... associations) Returns details about the transit gateway policy table association.
This is a convenience method that creates an instance of theTransitGatewayPolicyTableAssociation.Builder
avoiding the need to create one manually viaTransitGatewayPolicyTableAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassociations(List<TransitGatewayPolicyTableAssociation>)
.- Parameters:
associations
- a consumer that will call methods onTransitGatewayPolicyTableAssociation.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.
-