StructuredPojo
, ToCopyableBuilder<AttachmentDetails.Builder,AttachmentDetails>
@Generated("software.amazon.awssdk:codegen") public 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 | Description |
---|---|---|
static interface |
AttachmentDetails.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
attachmentId() |
The ID of the attachment.
|
static AttachmentDetails.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
String |
fileName() |
The file name of the attachment.
|
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() |
public String attachmentId()
The ID of the attachment.
public String fileName()
The file name of the attachment.
public AttachmentDetails.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AttachmentDetails.Builder,AttachmentDetails>
public static AttachmentDetails.Builder builder()
public static Class<? extends AttachmentDetails.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.