Interface DescribeAttachmentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeAttachmentResponse.Builder,DescribeAttachmentResponse>,SdkBuilder<DescribeAttachmentResponse.Builder,DescribeAttachmentResponse>,SdkPojo,SdkResponse.Builder,SupportResponse.Builder
- Enclosing class:
- DescribeAttachmentResponse
public static interface DescribeAttachmentResponse.Builder extends SupportResponse.Builder, SdkPojo, CopyableBuilder<DescribeAttachmentResponse.Builder,DescribeAttachmentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeAttachmentResponse.Builderattachment(Consumer<Attachment.Builder> attachment)This object includes the attachment content and file name.DescribeAttachmentResponse.Builderattachment(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 Detail
-
attachment
DescribeAttachmentResponse.Builder attachment(Attachment 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
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
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:
attachment(Attachment)
-
-