public class PublishFindingToSnsParams
extends java.lang.Object
implements java.io.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(java.lang.Object obj) |
java.lang.String |
getTopicArn()
The ARN of the topic to which you want to publish the findings.
|
int |
hashCode() |
void |
setTopicArn(java.lang.String topicArn)
The ARN of the topic to which you want to publish the findings.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PublishFindingToSnsParams |
withTopicArn(java.lang.String topicArn)
The ARN of the topic to which you want to publish the findings.
|
public java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.