@Generated(value="software.amazon.awssdk:codegen") public final class Attachment extends Object implements StructuredPojo, ToCopyableBuilder<Attachment.Builder,Attachment>
An attachment to a case communication. The attachment consists of the file name and the content of the file.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Attachment.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Attachment.Builder |
builder() |
SdkBytes |
data()
The content of the attachment file.
|
boolean |
equals(Object obj) |
String |
fileName()
The name of the attachment file.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
static Class<? extends Attachment.Builder> |
serializableBuilderClass() |
Attachment.Builder |
toBuilder() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String fileName()
The name of the attachment file.
public SdkBytes data()
The content of the attachment file.
public Attachment.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Attachment.Builder,Attachment>public static Attachment.Builder builder()
public static Class<? extends Attachment.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.