@Generated(value="software.amazon.awssdk:codegen") public final class Communication extends Object implements SdkPojo, Serializable, 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 submitter of the communication, 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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAttachmentSet()
Returns true if the AttachmentSet property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Communication.Builder> |
serializableBuilderClass() |
String |
submittedBy()
The identity of the account that submitted, or responded to, the support case.
|
String |
timeCreated()
The time the communication was created.
|
Communication.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 final String body()
The text of the communication between the customer and AWS Support.
public final String submittedBy()
The identity of the account that submitted, or responded to, the support case. Customer entries include the role or IAM user as well as the email address. For example, "AdminRole (Role) <someone@example.com>. Entries from the AWS Support team display "Amazon Web Services," and do not show an email address.
public final String timeCreated()
The time the communication was created.
public final boolean hasAttachmentSet()
public final 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.
You can use hasAttachmentSet() to see if a value was sent in this field.
public Communication.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Communication.Builder,Communication>public static Communication.Builder builder()
public static Class<? extends Communication.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.