Class MessageOutput
- java.lang.Object
-
- software.amazon.awssdk.services.qconnect.model.MessageOutput
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MessageOutput.Builder,MessageOutput>
@Generated("software.amazon.awssdk:codegen") public final class MessageOutput extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MessageOutput.Builder,MessageOutput>
The message output.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMessageOutput.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MessageOutput.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmessageId()The identifier of a message.Participantparticipant()The participant of a message.StringparticipantAsString()The participant of a message.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends MessageOutput.Builder>serializableBuilderClass()Instanttimestamp()The timestamp of a message.MessageOutput.BuildertoBuilder()StringtoString()Returns a string representation of this object.MessageDatavalue()The value of a message data.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
messageId
public final String messageId()
The identifier of a message.
- Returns:
- The identifier of a message.
-
participant
public final Participant participant()
The participant of a message.
If the service returns an enum value that is not available in the current SDK version,
participantwill returnParticipant.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromparticipantAsString().- Returns:
- The participant of a message.
- See Also:
Participant
-
participantAsString
public final String participantAsString()
The participant of a message.
If the service returns an enum value that is not available in the current SDK version,
participantwill returnParticipant.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromparticipantAsString().- Returns:
- The participant of a message.
- See Also:
Participant
-
timestamp
public final Instant timestamp()
The timestamp of a message.
- Returns:
- The timestamp of a message.
-
value
public final MessageData value()
The value of a message data.
- Returns:
- The value of a message data.
-
toBuilder
public MessageOutput.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MessageOutput.Builder,MessageOutput>
-
builder
public static MessageOutput.Builder builder()
-
serializableBuilderClass
public static Class<? extends MessageOutput.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-