@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.TargetStatus
public String getTargetStatus()
The status of the target.
TargetStatus
public TargetSummary withTargetStatus(String targetStatus)
The status of the target.
targetStatus
- The status of the target.TargetStatus
public TargetSummary withTargetStatus(TargetStatus targetStatus)
The status of the target.
targetStatus
- The status of the target.TargetStatus
public String toString()
toString
in class Object
Object.toString()
public TargetSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.