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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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
dataparameter appears asblob, which is represented as a base64-encoded string. The value forfileNameis 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
dataparameter appears asblob, which is represented as a base64-encoded string. The value forfileNameis 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 thedataparameter appears asblob, which is represented as a base64-encoded string. The value forfileNameis the name of the attachment, such astroubleshoot-screenshot.png.Attachment.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:
-