@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SNSConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the SNS topic to which you want to send your alerts and the IAM role that has access to that topic.
| Constructor and Description |
|---|
SNSConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
SNSConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getRoleArn()
THe ARN of the IAM role that has access to the target SNS topic.
|
String |
getSnsTopicArn()
The ARN of the target SNS topic.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setRoleArn(String roleArn)
THe ARN of the IAM role that has access to the target SNS topic.
|
void |
setSnsTopicArn(String snsTopicArn)
The ARN of the target SNS topic.
|
String |
toString()
Returns a string representation of this object.
|
SNSConfiguration |
withRoleArn(String roleArn)
THe ARN of the IAM role that has access to the target SNS topic.
|
SNSConfiguration |
withSnsTopicArn(String snsTopicArn)
The ARN of the target SNS topic.
|
public void setRoleArn(String roleArn)
THe ARN of the IAM role that has access to the target SNS topic.
roleArn - THe ARN of the IAM role that has access to the target SNS topic.public String getRoleArn()
THe ARN of the IAM role that has access to the target SNS topic.
public SNSConfiguration withRoleArn(String roleArn)
THe ARN of the IAM role that has access to the target SNS topic.
roleArn - THe ARN of the IAM role that has access to the target SNS topic.public void setSnsTopicArn(String snsTopicArn)
The ARN of the target SNS topic.
snsTopicArn - The ARN of the target SNS topic.public String getSnsTopicArn()
The ARN of the target SNS topic.
public SNSConfiguration withSnsTopicArn(String snsTopicArn)
The ARN of the target SNS topic.
snsTopicArn - The ARN of the target SNS topic.public String toString()
toString in class ObjectObject.toString()public SNSConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.