public static interface DescribeAttachmentResponse.Builder extends SupportResponse.Builder, CopyableBuilder<DescribeAttachmentResponse.Builder,DescribeAttachmentResponse>
Modifier and Type | Method and Description |
---|---|
DescribeAttachmentResponse.Builder |
attachment(Attachment attachment)
The attachment content and file name.
|
default DescribeAttachmentResponse.Builder |
attachment(Consumer<Attachment.Builder> attachment)
The attachment content and file name.
|
build
copy
apply, build
DescribeAttachmentResponse.Builder attachment(Attachment attachment)
The attachment content and file name.
attachment
- The attachment content and file name.default DescribeAttachmentResponse.Builder attachment(Consumer<Attachment.Builder> attachment)
The attachment content and file name.
This is a convenience that creates an instance of theAttachment.Builder
avoiding the need to create
one manually via Attachment.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to attachment(Attachment)
.attachment
- a consumer that will call methods on Attachment.Builder
attachment(Attachment)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.