public class PublishFindingToSnsParams extends Object implements Serializable
Parameters to define a mitigation action that publishes findings to Amazon SNS. You can implement your own custom actions in response to the Amazon SNS messages.
| Constructor and Description |
|---|
PublishFindingToSnsParams() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getTopicArn()
The ARN of the topic to which you want to publish the findings.
|
int |
hashCode() |
void |
setTopicArn(String topicArn)
The ARN of the topic to which you want to publish the findings.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PublishFindingToSnsParams |
withTopicArn(String topicArn)
The ARN of the topic to which you want to publish the findings.
|
public String getTopicArn()
The ARN of the topic to which you want to publish the findings.
Constraints:
Length: - 350
The ARN of the topic to which you want to publish the findings.
public void setTopicArn(String topicArn)
The ARN of the topic to which you want to publish the findings.
Constraints:
Length: - 350
topicArn - The ARN of the topic to which you want to publish the findings.
public PublishFindingToSnsParams withTopicArn(String topicArn)
The ARN of the topic to which you want to publish the findings.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 350
topicArn - The ARN of the topic to which you want to publish the findings.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.