@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetEventBridgeRuleTemplateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetEventBridgeRuleTemplateResult() |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
arn
- An eventbridge rule template's ARN (Amazon Resource Name)public String getArn()
public GetEventBridgeRuleTemplateResult withArn(String arn)
arn
- An eventbridge rule template's ARN (Amazon Resource Name)public void setCreatedAt(Date createdAt)
createdAt
- public Date getCreatedAt()
public GetEventBridgeRuleTemplateResult withCreatedAt(Date createdAt)
createdAt
- public void setDescription(String description)
description
- A resource's optional description.public String getDescription()
public GetEventBridgeRuleTemplateResult withDescription(String description)
description
- A resource's optional description.public List<EventBridgeRuleTemplateTarget> getEventTargets()
public void setEventTargets(Collection<EventBridgeRuleTemplateTarget> eventTargets)
eventTargets
- public GetEventBridgeRuleTemplateResult withEventTargets(EventBridgeRuleTemplateTarget... eventTargets)
NOTE: This method appends the values to the existing list (if any). Use
setEventTargets(java.util.Collection)
or withEventTargets(java.util.Collection)
if you want to
override the existing values.
eventTargets
- public GetEventBridgeRuleTemplateResult withEventTargets(Collection<EventBridgeRuleTemplateTarget> eventTargets)
eventTargets
- public void setEventType(String eventType)
eventType
- EventBridgeRuleTemplateEventType
public String getEventType()
EventBridgeRuleTemplateEventType
public GetEventBridgeRuleTemplateResult withEventType(String eventType)
eventType
- EventBridgeRuleTemplateEventType
public GetEventBridgeRuleTemplateResult withEventType(EventBridgeRuleTemplateEventType eventType)
eventType
- EventBridgeRuleTemplateEventType
public void setGroupId(String groupId)
groupId
- An eventbridge rule template group's id. AWS provided template groups have ids that start with `aws-`public String getGroupId()
public GetEventBridgeRuleTemplateResult withGroupId(String groupId)
groupId
- An eventbridge rule template group's id. AWS provided template groups have ids that start with `aws-`public void setId(String id)
id
- An eventbridge rule template's id. AWS provided templates have ids that start with `aws-`public String getId()
public GetEventBridgeRuleTemplateResult withId(String id)
id
- An eventbridge rule template's id. AWS provided templates have ids that start with `aws-`public void setModifiedAt(Date modifiedAt)
modifiedAt
- public Date getModifiedAt()
public GetEventBridgeRuleTemplateResult withModifiedAt(Date modifiedAt)
modifiedAt
- public void setName(String name)
name
- A resource's name. Names must be unique within the scope of a resource type in a specific region.public String getName()
public GetEventBridgeRuleTemplateResult withName(String name)
name
- A resource's name. Names must be unique within the scope of a resource type in a specific region.public GetEventBridgeRuleTemplateResult withTags(Map<String,String> tags)
tags
- public GetEventBridgeRuleTemplateResult addTagsEntry(String key, String value)
public GetEventBridgeRuleTemplateResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public GetEventBridgeRuleTemplateResult clone()