@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateEventBridgeRuleTemplateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateEventBridgeRuleTemplateResult() |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
arn
- An eventbridge rule template's ARN (Amazon Resource Name)public String getArn()
public UpdateEventBridgeRuleTemplateResult withArn(String arn)
arn
- An eventbridge rule template's ARN (Amazon Resource Name)public void setCreatedAt(Date createdAt)
createdAt
- public Date getCreatedAt()
public UpdateEventBridgeRuleTemplateResult withCreatedAt(Date createdAt)
createdAt
- public void setDescription(String description)
description
- A resource's optional description.public String getDescription()
public UpdateEventBridgeRuleTemplateResult withDescription(String description)
description
- A resource's optional description.public List<EventBridgeRuleTemplateTarget> getEventTargets()
public void setEventTargets(Collection<EventBridgeRuleTemplateTarget> eventTargets)
eventTargets
- public UpdateEventBridgeRuleTemplateResult 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 UpdateEventBridgeRuleTemplateResult withEventTargets(Collection<EventBridgeRuleTemplateTarget> eventTargets)
eventTargets
- public void setEventType(String eventType)
eventType
- EventBridgeRuleTemplateEventType
public String getEventType()
EventBridgeRuleTemplateEventType
public UpdateEventBridgeRuleTemplateResult withEventType(String eventType)
eventType
- EventBridgeRuleTemplateEventType
public UpdateEventBridgeRuleTemplateResult 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 UpdateEventBridgeRuleTemplateResult 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 UpdateEventBridgeRuleTemplateResult 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 UpdateEventBridgeRuleTemplateResult 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 UpdateEventBridgeRuleTemplateResult withName(String name)
name
- A resource's name. Names must be unique within the scope of a resource type in a specific region.public UpdateEventBridgeRuleTemplateResult withTags(Map<String,String> tags)
tags
- public UpdateEventBridgeRuleTemplateResult addTagsEntry(String key, String value)
public UpdateEventBridgeRuleTemplateResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public UpdateEventBridgeRuleTemplateResult clone()