@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TargetSummary extends Object implements Serializable, Cloneable, StructuredPojo
Information about the targets specified for a notification rule.
| Constructor and Description | 
|---|
| TargetSummary() | 
| Modifier and Type | Method and Description | 
|---|---|
| TargetSummary | clone() | 
| boolean | equals(Object obj) | 
| String | getTargetAddress()
 The Amazon Resource Name (ARN) of the SNS topic. | 
| String | getTargetStatus()
 The status of the target. | 
| String | getTargetType()
 The type of the target (for example, SNS). | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setTargetAddress(String targetAddress)
 The Amazon Resource Name (ARN) of the SNS topic. | 
| void | setTargetStatus(String targetStatus)
 The status of the target. | 
| void | setTargetType(String targetType)
 The type of the target (for example, SNS). | 
| String | toString()Returns a string representation of this object. | 
| TargetSummary | withTargetAddress(String targetAddress)
 The Amazon Resource Name (ARN) of the SNS topic. | 
| TargetSummary | withTargetStatus(String targetStatus)
 The status of the target. | 
| TargetSummary | withTargetStatus(TargetStatus targetStatus)
 The status of the target. | 
| TargetSummary | withTargetType(String targetType)
 The type of the target (for example, SNS). | 
public void setTargetAddress(String targetAddress)
The Amazon Resource Name (ARN) of the SNS topic.
targetAddress - The Amazon Resource Name (ARN) of the SNS topic.public String getTargetAddress()
The Amazon Resource Name (ARN) of the SNS topic.
public TargetSummary withTargetAddress(String targetAddress)
The Amazon Resource Name (ARN) of the SNS topic.
targetAddress - The Amazon Resource Name (ARN) of the SNS topic.public void setTargetType(String targetType)
The type of the target (for example, SNS).
targetType - The type of the target (for example, SNS).public String getTargetType()
The type of the target (for example, SNS).
public TargetSummary withTargetType(String targetType)
The type of the target (for example, SNS).
targetType - The type of the target (for example, SNS).public void setTargetStatus(String targetStatus)
The status of the target.
targetStatus - The status of the target.TargetStatuspublic String getTargetStatus()
The status of the target.
TargetStatuspublic TargetSummary withTargetStatus(String targetStatus)
The status of the target.
targetStatus - The status of the target.TargetStatuspublic TargetSummary withTargetStatus(TargetStatus targetStatus)
The status of the target.
targetStatus - The status of the target.TargetStatuspublic String toString()
toString in class ObjectObject.toString()public TargetSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.