@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NotificationTargetItem extends Object implements Serializable, Cloneable, StructuredPojo
The SNS targets that are notified when updates are made to an incident.
| Constructor and Description |
|---|
NotificationTargetItem() |
| Modifier and Type | Method and Description |
|---|---|
NotificationTargetItem |
clone() |
boolean |
equals(Object obj) |
String |
getSnsTopicArn()
The Amazon Resource Name (ARN) of the SNS topic.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setSnsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) of the SNS topic.
|
String |
toString()
Returns a string representation of this object.
|
NotificationTargetItem |
withSnsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) of the SNS topic.
|
public void setSnsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) of the SNS topic.
snsTopicArn - The Amazon Resource Name (ARN) of the SNS topic.public String getSnsTopicArn()
The Amazon Resource Name (ARN) of the SNS topic.
public NotificationTargetItem withSnsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) of the SNS topic.
snsTopicArn - The Amazon Resource Name (ARN) of the SNS topic.public String toString()
toString in class ObjectObject.toString()public NotificationTargetItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.