Interface DeleteAttachmentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DeleteAttachmentResponse.Builder,,DeleteAttachmentResponse> NetworkManagerResponse.Builder,SdkBuilder<DeleteAttachmentResponse.Builder,,DeleteAttachmentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DeleteAttachmentResponse
@Mutable
@NotThreadSafe
public static interface DeleteAttachmentResponse.Builder
extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<DeleteAttachmentResponse.Builder,DeleteAttachmentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DeleteAttachmentResponse.Builderattachment(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
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
-
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.Builderavoiding the need to create one manually viaAttachment.builder().When the
Consumercompletes,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:
-