Interface DescribeAttachmentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAttachmentResponse.Builder,
,DescribeAttachmentResponse> SdkBuilder<DescribeAttachmentResponse.Builder,
,DescribeAttachmentResponse> SdkPojo
,SdkResponse.Builder
,SupportResponse.Builder
- Enclosing class:
DescribeAttachmentResponse
-
Method Summary
Modifier and TypeMethodDescriptionattachment
(Consumer<Attachment.Builder> attachment) This object includes the attachment content and file name.attachment
(Attachment attachment) This object includes the attachment content and file name.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
Methods inherited from interface software.amazon.awssdk.services.support.model.SupportResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
attachment
This object includes the attachment content and file name.
In the previous response syntax, the value for the
data
parameter appears asblob
, which is represented as a base64-encoded string. The value forfileName
is the name of the attachment, such astroubleshoot-screenshot.png
.- Parameters:
attachment
- This object includes the attachment content and file name.In the previous response syntax, the value for the
data
parameter appears asblob
, which is represented as a base64-encoded string. The value forfileName
is the name of the attachment, such astroubleshoot-screenshot.png
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachment
This object includes the attachment content and file name.
In the previous response syntax, the value for the
This is a convenience method that creates an instance of thedata
parameter appears asblob
, which is represented as a base64-encoded string. The value forfileName
is the name of the attachment, such astroubleshoot-screenshot.png
.Attachment.Builder
avoiding the need to create one manually viaAttachment.builder()
.When the
Consumer
completes,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:
-