Interface AcceptAttachmentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<AcceptAttachmentResponse.Builder,
,AcceptAttachmentResponse> NetworkManagerResponse.Builder
,SdkBuilder<AcceptAttachmentResponse.Builder,
,AcceptAttachmentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
AcceptAttachmentResponse
public static interface AcceptAttachmentResponse.Builder
extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<AcceptAttachmentResponse.Builder,AcceptAttachmentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AcceptAttachmentResponse.Builder
attachment
(Consumer<Attachment.Builder> attachment) The response to the attachment request.attachment
(Attachment attachment) The response to the attachment request.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
attachment
The response to the attachment request.
- Parameters:
attachment
- The response to the attachment request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachment
The response to the attachment request.
This is a convenience method that creates an instance of theAttachment.Builder
avoiding the need to create one manually viaAttachment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattachment(Attachment)
.- Parameters:
attachment
- a consumer that will call methods onAttachment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-