Class SNSTopicPublishAction
- java.lang.Object
-
- software.amazon.awssdk.services.iotevents.model.SNSTopicPublishAction
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SNSTopicPublishAction.Builder,SNSTopicPublishAction>
@Generated("software.amazon.awssdk:codegen") public final class SNSTopicPublishAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SNSTopicPublishAction.Builder,SNSTopicPublishAction>
Information required to publish the Amazon SNS message.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSNSTopicPublishAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SNSTopicPublishAction.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 as an Amazon SNS push notification.List<SdkField<?>>sdkFields()static Class<? extends SNSTopicPublishAction.Builder>serializableBuilderClass()StringtargetArn()The ARN of the Amazon SNS target where the message is sent.SNSTopicPublishAction.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
-
targetArn
public final String targetArn()
The ARN of the Amazon SNS target where the message is sent.
- Returns:
- The ARN of the Amazon SNS target where the message is sent.
-
payload
public final Payload payload()
You can configure the action payload when you send a message as an Amazon SNS push notification.
- Returns:
- You can configure the action payload when you send a message as an Amazon SNS push notification.
-
toBuilder
public SNSTopicPublishAction.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SNSTopicPublishAction.Builder,SNSTopicPublishAction>
-
builder
public static SNSTopicPublishAction.Builder builder()
-
serializableBuilderClass
public static Class<? extends SNSTopicPublishAction.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.
-
-