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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DeleteAttachmentResponse.Builderattachment(Consumer<Attachment.Builder> attachment)Information about the deleted attachment.DeleteAttachmentResponse.Builderattachment(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 Detail
-
attachment
DeleteAttachmentResponse.Builder attachment(Attachment 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
default DeleteAttachmentResponse.Builder attachment(Consumer<Attachment.Builder> 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:
attachment(Attachment)
-
-