Interface GetTransitGatewayConnectPeerAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetTransitGatewayConnectPeerAssociationsResponse.Builder,,GetTransitGatewayConnectPeerAssociationsResponse> NetworkManagerResponse.Builder,SdkBuilder<GetTransitGatewayConnectPeerAssociationsResponse.Builder,,GetTransitGatewayConnectPeerAssociationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetTransitGatewayConnectPeerAssociationsResponse
@Mutable
@NotThreadSafe
public static interface GetTransitGatewayConnectPeerAssociationsResponse.Builder
extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<GetTransitGatewayConnectPeerAssociationsResponse.Builder,GetTransitGatewayConnectPeerAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use for the next page of results.transitGatewayConnectPeerAssociations(Collection<TransitGatewayConnectPeerAssociation> transitGatewayConnectPeerAssociations) Information about the transit gateway Connect peer associations.transitGatewayConnectPeerAssociations(Consumer<TransitGatewayConnectPeerAssociation.Builder>... transitGatewayConnectPeerAssociations) Information about the transit gateway Connect peer associations.transitGatewayConnectPeerAssociations(TransitGatewayConnectPeerAssociation... transitGatewayConnectPeerAssociations) Information about the transit gateway Connect peer associations.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
-
transitGatewayConnectPeerAssociations
GetTransitGatewayConnectPeerAssociationsResponse.Builder transitGatewayConnectPeerAssociations(Collection<TransitGatewayConnectPeerAssociation> transitGatewayConnectPeerAssociations) Information about the transit gateway Connect peer associations.
- Parameters:
transitGatewayConnectPeerAssociations- Information about the transit gateway Connect peer associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayConnectPeerAssociations
GetTransitGatewayConnectPeerAssociationsResponse.Builder transitGatewayConnectPeerAssociations(TransitGatewayConnectPeerAssociation... transitGatewayConnectPeerAssociations) Information about the transit gateway Connect peer associations.
- Parameters:
transitGatewayConnectPeerAssociations- Information about the transit gateway Connect peer associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayConnectPeerAssociations
GetTransitGatewayConnectPeerAssociationsResponse.Builder transitGatewayConnectPeerAssociations(Consumer<TransitGatewayConnectPeerAssociation.Builder>... transitGatewayConnectPeerAssociations) Information about the transit gateway Connect peer associations.
This is a convenience method that creates an instance of theTransitGatewayConnectPeerAssociation.Builderavoiding the need to create one manually viaTransitGatewayConnectPeerAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totransitGatewayConnectPeerAssociations(List<TransitGatewayConnectPeerAssociation>).- Parameters:
transitGatewayConnectPeerAssociations- a consumer that will call methods onTransitGatewayConnectPeerAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use for the next page of results.
- Parameters:
nextToken- The token to use for the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-