@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 Chatbot topic or Chatbot client.
|
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 Chatbot topic or Chatbot client.
|
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 Chatbot topic or Chatbot client.
|
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 Chatbot topic or Chatbot client.
targetAddress - The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.public String getTargetAddress()
The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.
public TargetSummary withTargetAddress(String targetAddress)
The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.
targetAddress - The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.public void setTargetType(String targetType)
The type of the target (for example, SNS).
Chatbot topics are specified as SNS.
Chatbot clients are specified as AWSChatbotSlack.
targetType - The type of the target (for example, SNS).
Chatbot topics are specified as SNS.
Chatbot clients are specified as AWSChatbotSlack.
public String getTargetType()
The type of the target (for example, SNS).
Chatbot topics are specified as SNS.
Chatbot clients are specified as AWSChatbotSlack.
SNS).
Chatbot topics are specified as SNS.
Chatbot clients are specified as AWSChatbotSlack.
public TargetSummary withTargetType(String targetType)
The type of the target (for example, SNS).
Chatbot topics are specified as SNS.
Chatbot clients are specified as AWSChatbotSlack.
targetType - The type of the target (for example, SNS).
Chatbot topics are specified as SNS.
Chatbot clients are specified as AWSChatbotSlack.
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.