@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PublishFindingToSnsParams extends Object implements Serializable, Cloneable, StructuredPojo
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 |
---|---|
PublishFindingToSnsParams |
clone() |
boolean |
equals(Object obj) |
String |
getTopicArn()
The ARN of the topic to which you want to publish the findings.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
PublishFindingToSnsParams |
withTopicArn(String topicArn)
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.
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.
public PublishFindingToSnsParams withTopicArn(String topicArn)
The ARN of the topic to which you want to publish the findings.
topicArn
- The ARN of the topic to which you want to publish the findings.public String toString()
toString
in class Object
Object.toString()
public PublishFindingToSnsParams clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.