@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Target extends Object implements Serializable, Cloneable, StructuredPojo
Information about the SNS topics associated with a notification rule.
Constructor and Description |
---|
Target() |
Modifier and Type | Method and Description |
---|---|
Target |
clone() |
boolean |
equals(Object obj) |
String |
getTargetAddress()
The Amazon Resource Name (ARN) of the SNS topic.
|
String |
getTargetType()
The target type.
|
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 |
setTargetType(String targetType)
The target type.
|
String |
toString()
Returns a string representation of this object.
|
Target |
withTargetAddress(String targetAddress)
The Amazon Resource Name (ARN) of the SNS topic.
|
Target |
withTargetType(String targetType)
The target type.
|
public void setTargetType(String targetType)
The target type. Can be an Amazon SNS topic.
targetType
- The target type. Can be an Amazon SNS topic.public String getTargetType()
The target type. Can be an Amazon SNS topic.
public Target withTargetType(String targetType)
The target type. Can be an Amazon SNS topic.
targetType
- The target type. Can be an Amazon SNS topic.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 Target withTargetAddress(String targetAddress)
The Amazon Resource Name (ARN) of the SNS topic.
targetAddress
- The Amazon Resource Name (ARN) of the SNS topic.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.