@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventBridgeRuleTemplateTarget extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
EventBridgeRuleTemplateTarget () |
| Modifier and Type | Method and Description |
|---|---|
EventBridgeRuleTemplateTarget |
clone () |
boolean |
equals (Object obj) |
String |
getArn ()
Target ARNs must be either an SNS topic or CloudWatch log group.
|
int |
hashCode () |
void |
marshall (ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setArn (String arn)
Target ARNs must be either an SNS topic or CloudWatch log group.
|
String |
toString ()
Returns a string representation of this object.
|
EventBridgeRuleTemplateTarget |
withArn (String arn)
Target ARNs must be either an SNS topic or CloudWatch log group.
|
public EventBridgeRuleTemplateTarget()
public void setArn(String arn)
arn - Target ARNs must be either an SNS topic or CloudWatch log group.public String getArn()
public EventBridgeRuleTemplateTarget withArn(String arn)
arn - Target ARNs must be either an SNS topic or CloudWatch log group.public String toString()
toString in class Object Object.toString() public EventBridgeRuleTemplateTarget clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo ProtocolMarshaller.marshall in interface StructuredPojo protocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.