Interface DeleteAttachmentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DeleteAttachmentResponse.Builder,
,DeleteAttachmentResponse> NetworkManagerResponse.Builder
,SdkBuilder<DeleteAttachmentResponse.Builder,
,DeleteAttachmentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DeleteAttachmentResponse
public static interface DeleteAttachmentResponse.Builder
extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<DeleteAttachmentResponse.Builder,DeleteAttachmentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DeleteAttachmentResponse.Builder
attachment
(Consumer<Attachment.Builder> attachment) Information about the deleted attachment.attachment
(Attachment attachment) Information about the deleted attachment.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
Information about the deleted attachment.
- Parameters:
attachment
- Information about the deleted attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachment
Information about the deleted attachment.
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:
-