@Generated(value="software.amazon.awssdk:codegen") public final class Communication extends Object implements StructuredPojo, ToCopyableBuilder<Communication.Builder,Communication>
A communication associated with an AWS Support case. The communication consists of the case ID, the message body, attachment information, the account email address, and the date and time of the communication.
Modifier and Type | Class and Description |
---|---|
static interface |
Communication.Builder |
Modifier and Type | Method and Description |
---|---|
List<AttachmentDetails> |
attachmentSet()
Information about the attachments to the case communication.
|
String |
body()
The text of the communication between the customer and AWS Support.
|
static Communication.Builder |
builder() |
String |
caseId()
The AWS Support case ID requested or returned in the call.
|
boolean |
equals(Object obj) |
<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 Communication.Builder> |
serializableBuilderClass() |
String |
submittedBy()
The email address of the account that submitted the AWS Support case.
|
String |
timeCreated()
The time the communication was created.
|
Communication.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String caseId()
The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
public String body()
The text of the communication between the customer and AWS Support.
public String submittedBy()
The email address of the account that submitted the AWS Support case.
public String timeCreated()
The time the communication was created.
public List<AttachmentDetails> attachmentSet()
Information about the attachments to the case communication.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Communication.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Communication.Builder,Communication>
public static Communication.Builder builder()
public static Class<? extends Communication.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.