Interface DescribeDirectConnectGatewayAssociationProposalsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeDirectConnectGatewayAssociationProposalsResponse.Builder,
,DescribeDirectConnectGatewayAssociationProposalsResponse> DirectConnectResponse.Builder
,SdkBuilder<DescribeDirectConnectGatewayAssociationProposalsResponse.Builder,
,DescribeDirectConnectGatewayAssociationProposalsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeDirectConnectGatewayAssociationProposalsResponse
public static interface DescribeDirectConnectGatewayAssociationProposalsResponse.Builder
extends DirectConnectResponse.Builder, SdkPojo, CopyableBuilder<DescribeDirectConnectGatewayAssociationProposalsResponse.Builder,DescribeDirectConnectGatewayAssociationProposalsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondirectConnectGatewayAssociationProposals
(Collection<DirectConnectGatewayAssociationProposal> directConnectGatewayAssociationProposals) Describes the Direct Connect gateway association proposals.directConnectGatewayAssociationProposals
(Consumer<DirectConnectGatewayAssociationProposal.Builder>... directConnectGatewayAssociationProposals) Describes the Direct Connect gateway association proposals.directConnectGatewayAssociationProposals
(DirectConnectGatewayAssociationProposal... directConnectGatewayAssociationProposals) Describes the Direct Connect gateway association proposals.The token to use to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.directconnect.model.DirectConnectResponse.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
-
directConnectGatewayAssociationProposals
DescribeDirectConnectGatewayAssociationProposalsResponse.Builder directConnectGatewayAssociationProposals(Collection<DirectConnectGatewayAssociationProposal> directConnectGatewayAssociationProposals) Describes the Direct Connect gateway association proposals.
- Parameters:
directConnectGatewayAssociationProposals
- Describes the Direct Connect gateway association proposals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
directConnectGatewayAssociationProposals
DescribeDirectConnectGatewayAssociationProposalsResponse.Builder directConnectGatewayAssociationProposals(DirectConnectGatewayAssociationProposal... directConnectGatewayAssociationProposals) Describes the Direct Connect gateway association proposals.
- Parameters:
directConnectGatewayAssociationProposals
- Describes the Direct Connect gateway association proposals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
directConnectGatewayAssociationProposals
DescribeDirectConnectGatewayAssociationProposalsResponse.Builder directConnectGatewayAssociationProposals(Consumer<DirectConnectGatewayAssociationProposal.Builder>... directConnectGatewayAssociationProposals) Describes the Direct Connect gateway association proposals.
This is a convenience method that creates an instance of theDirectConnectGatewayAssociationProposal.Builder
avoiding the need to create one manually viaDirectConnectGatewayAssociationProposal.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todirectConnectGatewayAssociationProposals(List<DirectConnectGatewayAssociationProposal>)
.- Parameters:
directConnectGatewayAssociationProposals
- a consumer that will call methods onDirectConnectGatewayAssociationProposal.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.- Parameters:
nextToken
- The token to use to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-