Class FlowExecutionMessage
- java.lang.Object
-
- software.amazon.awssdk.services.iotthingsgraph.model.FlowExecutionMessage
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FlowExecutionMessage.Builder,FlowExecutionMessage>
@Generated("software.amazon.awssdk:codegen") public final class FlowExecutionMessage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FlowExecutionMessage.Builder,FlowExecutionMessage>
An object that contains information about a flow event.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFlowExecutionMessage.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FlowExecutionMessage.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FlowExecutionEventTypeeventType()The type of flow event .StringeventTypeAsString()The type of flow event .<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmessageId()The unique identifier of the message.Stringpayload()A string containing information about the flow event.List<SdkField<?>>sdkFields()static Class<? extends FlowExecutionMessage.Builder>serializableBuilderClass()Instanttimestamp()The date and time when the message was last updated.FlowExecutionMessage.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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 unique identifier of the message.
- Returns:
- The unique identifier of the message.
-
eventType
public final FlowExecutionEventType eventType()
The type of flow event .
If the service returns an enum value that is not available in the current SDK version,
eventTypewill returnFlowExecutionEventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventTypeAsString().- Returns:
- The type of flow event .
- See Also:
FlowExecutionEventType
-
eventTypeAsString
public final String eventTypeAsString()
The type of flow event .
If the service returns an enum value that is not available in the current SDK version,
eventTypewill returnFlowExecutionEventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventTypeAsString().- Returns:
- The type of flow event .
- See Also:
FlowExecutionEventType
-
timestamp
public final Instant timestamp()
The date and time when the message was last updated.
- Returns:
- The date and time when the message was last updated.
-
payload
public final String payload()
A string containing information about the flow event.
- Returns:
- A string containing information about the flow event.
-
toBuilder
public FlowExecutionMessage.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FlowExecutionMessage.Builder,FlowExecutionMessage>
-
builder
public static FlowExecutionMessage.Builder builder()
-
serializableBuilderClass
public static Class<? extends FlowExecutionMessage.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.
-
-