Interface SnsAction.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<SnsAction.Builder,SnsAction>
,SdkBuilder<SnsAction.Builder,SnsAction>
,SdkPojo
- Enclosing class:
- SnsAction
public static interface SnsAction.Builder extends SdkPojo, CopyableBuilder<SnsAction.Builder,SnsAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SnsAction.Builder
messageFormat(String messageFormat)
(Optional) The message format of the message to publish.SnsAction.Builder
messageFormat(MessageFormat messageFormat)
(Optional) The message format of the message to publish.SnsAction.Builder
roleArn(String roleArn)
The ARN of the IAM role that grants access.SnsAction.Builder
targetArn(String targetArn)
The ARN of the SNS topic.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
targetArn
SnsAction.Builder targetArn(String targetArn)
The ARN of the SNS topic.
- Parameters:
targetArn
- The ARN of the SNS topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
SnsAction.Builder roleArn(String roleArn)
The ARN of the IAM role that grants access.
- Parameters:
roleArn
- The ARN of the IAM role that grants access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageFormat
SnsAction.Builder messageFormat(String messageFormat)
(Optional) The message format of the message to publish. Accepted values are "JSON" and "RAW". The default value of the attribute is "RAW". SNS uses this setting to determine if the payload should be parsed and relevant platform-specific bits of the payload should be extracted. To read more about SNS message formats, see https://docs.aws.amazon.com/sns/latest /dg/json-formats.html refer to their official documentation.
- Parameters:
messageFormat
- (Optional) The message format of the message to publish. Accepted values are "JSON" and "RAW". The default value of the attribute is "RAW". SNS uses this setting to determine if the payload should be parsed and relevant platform-specific bits of the payload should be extracted. To read more about SNS message formats, see https://docs .aws.amazon.com/sns/latest/dg/json-formats.html refer to their official documentation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MessageFormat
,MessageFormat
-
messageFormat
SnsAction.Builder messageFormat(MessageFormat messageFormat)
(Optional) The message format of the message to publish. Accepted values are "JSON" and "RAW". The default value of the attribute is "RAW". SNS uses this setting to determine if the payload should be parsed and relevant platform-specific bits of the payload should be extracted. To read more about SNS message formats, see https://docs.aws.amazon.com/sns/latest /dg/json-formats.html refer to their official documentation.
- Parameters:
messageFormat
- (Optional) The message format of the message to publish. Accepted values are "JSON" and "RAW". The default value of the attribute is "RAW". SNS uses this setting to determine if the payload should be parsed and relevant platform-specific bits of the payload should be extracted. To read more about SNS message formats, see https://docs .aws.amazon.com/sns/latest/dg/json-formats.html refer to their official documentation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MessageFormat
,MessageFormat
-
-