Interface CreateDirectConnectGatewayAttachmentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateDirectConnectGatewayAttachmentResponse.Builder,,CreateDirectConnectGatewayAttachmentResponse> NetworkManagerResponse.Builder,SdkBuilder<CreateDirectConnectGatewayAttachmentResponse.Builder,,CreateDirectConnectGatewayAttachmentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateDirectConnectGatewayAttachmentResponse
@Mutable
@NotThreadSafe
public static interface CreateDirectConnectGatewayAttachmentResponse.Builder
extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<CreateDirectConnectGatewayAttachmentResponse.Builder,CreateDirectConnectGatewayAttachmentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondirectConnectGatewayAttachment(Consumer<DirectConnectGatewayAttachment.Builder> directConnectGatewayAttachment) Describes the details of aCreateDirectConnectGatewayAttachmentrequest.directConnectGatewayAttachment(DirectConnectGatewayAttachment directConnectGatewayAttachment) Describes the details of aCreateDirectConnectGatewayAttachmentrequest.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
CreateDirectConnectGatewayAttachmentResponse.Builder directConnectGatewayAttachment(DirectConnectGatewayAttachment directConnectGatewayAttachment) Describes the details of a
CreateDirectConnectGatewayAttachmentrequest.- Parameters:
directConnectGatewayAttachment- Describes the details of aCreateDirectConnectGatewayAttachmentrequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
directConnectGatewayAttachment
default CreateDirectConnectGatewayAttachmentResponse.Builder directConnectGatewayAttachment(Consumer<DirectConnectGatewayAttachment.Builder> directConnectGatewayAttachment) Describes the details of a
This is a convenience method that creates an instance of theCreateDirectConnectGatewayAttachmentrequest.DirectConnectGatewayAttachment.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:
-