Interface AcceptDirectConnectGatewayAssociationProposalRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AcceptDirectConnectGatewayAssociationProposalRequest.Builder,AcceptDirectConnectGatewayAssociationProposalRequest>,DirectConnectRequest.Builder,SdkBuilder<AcceptDirectConnectGatewayAssociationProposalRequest.Builder,AcceptDirectConnectGatewayAssociationProposalRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- AcceptDirectConnectGatewayAssociationProposalRequest
public static interface AcceptDirectConnectGatewayAssociationProposalRequest.Builder extends DirectConnectRequest.Builder, SdkPojo, CopyableBuilder<AcceptDirectConnectGatewayAssociationProposalRequest.Builder,AcceptDirectConnectGatewayAssociationProposalRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.directconnect.model.DirectConnectRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
directConnectGatewayId
AcceptDirectConnectGatewayAssociationProposalRequest.Builder directConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
- Parameters:
directConnectGatewayId- The ID of the Direct Connect gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proposalId
AcceptDirectConnectGatewayAssociationProposalRequest.Builder proposalId(String proposalId)
The ID of the request proposal.
- Parameters:
proposalId- The ID of the request proposal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedGatewayOwnerAccount
AcceptDirectConnectGatewayAssociationProposalRequest.Builder associatedGatewayOwnerAccount(String associatedGatewayOwnerAccount)
The ID of the Amazon Web Services account that owns the virtual private gateway or transit gateway.
- Parameters:
associatedGatewayOwnerAccount- The ID of the Amazon Web Services account that owns the virtual private gateway or transit gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideAllowedPrefixesToDirectConnectGateway
AcceptDirectConnectGatewayAssociationProposalRequest.Builder overrideAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> overrideAllowedPrefixesToDirectConnectGateway)
Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.
For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.
- Parameters:
overrideAllowedPrefixesToDirectConnectGateway- Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideAllowedPrefixesToDirectConnectGateway
AcceptDirectConnectGatewayAssociationProposalRequest.Builder overrideAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix... overrideAllowedPrefixesToDirectConnectGateway)
Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.
For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.
- Parameters:
overrideAllowedPrefixesToDirectConnectGateway- Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideAllowedPrefixesToDirectConnectGateway
AcceptDirectConnectGatewayAssociationProposalRequest.Builder overrideAllowedPrefixesToDirectConnectGateway(Consumer<RouteFilterPrefix.Builder>... overrideAllowedPrefixesToDirectConnectGateway)
Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.
For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.
This is a convenience method that creates an instance of theRouteFilterPrefix.Builderavoiding the need to create one manually viaRouteFilterPrefix.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#overrideAllowedPrefixesToDirectConnectGateway(List.) - Parameters:
overrideAllowedPrefixesToDirectConnectGateway- a consumer that will call methods onRouteFilterPrefix.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#overrideAllowedPrefixesToDirectConnectGateway(java.util.Collection)
-
overrideConfiguration
AcceptDirectConnectGatewayAssociationProposalRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AcceptDirectConnectGatewayAssociationProposalRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-