@Generated(value="software.amazon.awssdk:codegen") public final class AttachmentDetails extends Object implements StructuredPojo, ToCopyableBuilder<AttachmentDetails.Builder,AttachmentDetails>
The file name and ID of an attachment to a case communication. You can use the ID to retrieve the attachment with the DescribeAttachment operation.
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | AttachmentDetails.Builder | 
| Modifier and Type | Method and Description | 
|---|---|
| String | attachmentId()
 The ID of the attachment. | 
| static AttachmentDetails.Builder | builder() | 
| boolean | equals(Object obj) | 
| String | fileName()
 The file name of the attachment. | 
| <T> Optional<T> | getValueForField(String fieldName,
                Class<T> clazz) | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| static Class<? extends AttachmentDetails.Builder> | serializableBuilderClass() | 
| AttachmentDetails.Builder | toBuilder()Take this object and create a builder that contains all of the current property values of this object. | 
| String | toString() | 
copypublic String attachmentId()
The ID of the attachment.
public String fileName()
The file name of the attachment.
public AttachmentDetails.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<AttachmentDetails.Builder,AttachmentDetails>public static AttachmentDetails.Builder builder()
public static Class<? extends AttachmentDetails.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.