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
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
-
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.Builderavoiding the need to create one manually viaDirectConnectGatewayAttachment.builder().When the
Consumercompletes,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:
-