Class SqsAction
- java.lang.Object
-
- software.amazon.awssdk.services.iotevents.model.SqsAction
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SqsAction.Builder,SqsAction>
@Generated("software.amazon.awssdk:codegen") public final class SqsAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SqsAction.Builder,SqsAction>
Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSqsAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SqsAction.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Payloadpayload()You can configure the action payload when you send a message to an Amazon SQS queue.StringqueueUrl()The URL of the SQS queue where the data is written.List<SdkField<?>>sdkFields()static Class<? extends SqsAction.Builder>serializableBuilderClass()SqsAction.BuildertoBuilder()StringtoString()Returns a string representation of this object.BooleanuseBase64()Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue.-
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
-
queueUrl
public final String queueUrl()
The URL of the SQS queue where the data is written.
- Returns:
- The URL of the SQS queue where the data is written.
-
useBase64
public final Boolean useBase64()
Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue. Otherwise, set this to FALSE.
- Returns:
- Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue. Otherwise, set this to FALSE.
-
payload
public final Payload payload()
You can configure the action payload when you send a message to an Amazon SQS queue.
- Returns:
- You can configure the action payload when you send a message to an Amazon SQS queue.
-
toBuilder
public SqsAction.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SqsAction.Builder,SqsAction>
-
builder
public static SqsAction.Builder builder()
-
serializableBuilderClass
public static Class<? extends SqsAction.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.
-
-