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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AcceptAttachmentResponse.Builderattachment(Consumer<Attachment.Builder> attachment)The response to the attachment request.AcceptAttachmentResponse.Builderattachment(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 Detail
-
attachment
AcceptAttachmentResponse.Builder attachment(Attachment 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
default AcceptAttachmentResponse.Builder attachment(Consumer<Attachment.Builder> attachment)
The response to the attachment request.
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)
-
-