public static interface DescribeAttachmentResponse.Builder extends SupportResponse.Builder, SdkPojo, CopyableBuilder<DescribeAttachmentResponse.Builder,DescribeAttachmentResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeAttachmentResponse.Builder |
attachment(Attachment attachment)
This object includes the attachment content and file name.
|
default DescribeAttachmentResponse.Builder |
attachment(Consumer<Attachment.Builder> attachment)
This object includes the attachment content and file name.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeAttachmentResponse.Builder attachment(Attachment attachment)
This object includes the attachment content and file name.
In the previous response syntax, the value for the data parameter appears as blob,
which is represented as a base64-encoded string. The value for fileName is the name of the
attachment, such as troubleshoot-screenshot.png.
attachment - This object includes the attachment content and file name.
In the previous response syntax, the value for the data parameter appears as
blob, which is represented as a base64-encoded string. The value for
fileName is the name of the attachment, such as troubleshoot-screenshot.png.
default DescribeAttachmentResponse.Builder attachment(Consumer<Attachment.Builder> attachment)
This object includes the attachment content and file name.
In the previous response syntax, the value for the data parameter appears as blob,
which is represented as a base64-encoded string. The value for fileName is the name of the
attachment, such as troubleshoot-screenshot.png.
Attachment.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.Builderattachment(Attachment)Copyright © 2023. All rights reserved.