@Generated(value="software.amazon.awssdk:codegen") public final class DescribeAttachmentResponse extends SupportResponse implements ToCopyableBuilder<DescribeAttachmentResponse.Builder,DescribeAttachmentResponse>
The content and file name of the attachment returned by the DescribeAttachment operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeAttachmentResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
Attachment |
attachment()
This object includes the attachment content and file name.
|
static DescribeAttachmentResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeAttachmentResponse.Builder> |
serializableBuilderClass() |
DescribeAttachmentResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
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.
public DescribeAttachmentResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeAttachmentResponse.Builder,DescribeAttachmentResponse>toBuilder in class AwsResponsepublic static DescribeAttachmentResponse.Builder builder()
public static Class<? extends DescribeAttachmentResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.