Interface UpdateDirectConnectGatewayAttachmentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateDirectConnectGatewayAttachmentResponse.Builder,
,UpdateDirectConnectGatewayAttachmentResponse> NetworkManagerResponse.Builder
,SdkBuilder<UpdateDirectConnectGatewayAttachmentResponse.Builder,
,UpdateDirectConnectGatewayAttachmentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateDirectConnectGatewayAttachmentResponse
@Mutable
@NotThreadSafe
public static interface UpdateDirectConnectGatewayAttachmentResponse.Builder
extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<UpdateDirectConnectGatewayAttachmentResponse.Builder,UpdateDirectConnectGatewayAttachmentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondirectConnectGatewayAttachment
(Consumer<DirectConnectGatewayAttachment.Builder> directConnectGatewayAttachment) Returns details of the Direct Connect gateway attachment with the updated edge locations.directConnectGatewayAttachment
(DirectConnectGatewayAttachment directConnectGatewayAttachment) Returns details of the Direct Connect gateway attachment with the updated edge locations.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
directConnectGatewayAttachment
UpdateDirectConnectGatewayAttachmentResponse.Builder directConnectGatewayAttachment(DirectConnectGatewayAttachment directConnectGatewayAttachment) Returns details of the Direct Connect gateway attachment with the updated edge locations.
- Parameters:
directConnectGatewayAttachment
- Returns details of the Direct Connect gateway attachment with the updated edge locations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
directConnectGatewayAttachment
default UpdateDirectConnectGatewayAttachmentResponse.Builder directConnectGatewayAttachment(Consumer<DirectConnectGatewayAttachment.Builder> directConnectGatewayAttachment) Returns details of the Direct Connect gateway attachment with the updated edge locations.
This is a convenience method that creates an instance of theDirectConnectGatewayAttachment.Builder
avoiding the need to create one manually viaDirectConnectGatewayAttachment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todirectConnectGatewayAttachment(DirectConnectGatewayAttachment)
.- Parameters:
directConnectGatewayAttachment
- a consumer that will call methods onDirectConnectGatewayAttachment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-