@Generated(value="software.amazon.awssdk:codegen") public final class Communication extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Communication.Builder,Communication>
A communication associated with a 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 Amazon Web Services Support.
|
static Communication.Builder |
builder() |
String |
caseId()
The 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()
For responses, this returns true if the service returned a value for the AttachmentSet property.
|
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 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 Amazon Web Services 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) <janedoe@example.com>. Entries from the Amazon Web Services Support team display "Amazon Web Services," and don't show an email address.
public final String timeCreated()
The time the communication was created.
public final boolean hasAttachmentSet()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAttachmentSet() method.
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 © 2023. All rights reserved.