Interface AcceptDirectConnectGatewayAssociationProposalResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<AcceptDirectConnectGatewayAssociationProposalResponse.Builder,
,AcceptDirectConnectGatewayAssociationProposalResponse> DirectConnectResponse.Builder
,SdkBuilder<AcceptDirectConnectGatewayAssociationProposalResponse.Builder,
,AcceptDirectConnectGatewayAssociationProposalResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
AcceptDirectConnectGatewayAssociationProposalResponse
public static interface AcceptDirectConnectGatewayAssociationProposalResponse.Builder
extends DirectConnectResponse.Builder, SdkPojo, CopyableBuilder<AcceptDirectConnectGatewayAssociationProposalResponse.Builder,AcceptDirectConnectGatewayAssociationProposalResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondirectConnectGatewayAssociation
(Consumer<DirectConnectGatewayAssociation.Builder> directConnectGatewayAssociation) Sets the value of the DirectConnectGatewayAssociation property for this object.directConnectGatewayAssociation
(DirectConnectGatewayAssociation directConnectGatewayAssociation) Sets the value of the DirectConnectGatewayAssociation property for this object.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
-
directConnectGatewayAssociation
AcceptDirectConnectGatewayAssociationProposalResponse.Builder directConnectGatewayAssociation(DirectConnectGatewayAssociation directConnectGatewayAssociation) Sets the value of the DirectConnectGatewayAssociation property for this object.- Parameters:
directConnectGatewayAssociation
- The new value for the DirectConnectGatewayAssociation property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
directConnectGatewayAssociation
default AcceptDirectConnectGatewayAssociationProposalResponse.Builder directConnectGatewayAssociation(Consumer<DirectConnectGatewayAssociation.Builder> directConnectGatewayAssociation) Sets the value of the DirectConnectGatewayAssociation property for this object. This is a convenience method that creates an instance of theDirectConnectGatewayAssociation.Builder
avoiding the need to create one manually viaDirectConnectGatewayAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todirectConnectGatewayAssociation(DirectConnectGatewayAssociation)
.- Parameters:
directConnectGatewayAssociation
- a consumer that will call methods onDirectConnectGatewayAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-