public class RuleSummary
extends java.lang.Object
implements java.io.Serializable
A list of ActionTypes associated with a rule.
| Constructor and Description |
|---|
RuleSummary() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<ActionSummary> |
getActionSummaries()
A list of ActionTypes associated with a rule.
|
java.util.Date |
getCreatedTime()
The timestamp for when the rule was created.
|
java.lang.String |
getEventSourceName()
The name of the event source.
|
java.util.Date |
getLastUpdatedTime()
The timestamp for when the rule was last updated.
|
java.lang.String |
getName()
The name of the rule.
|
java.lang.String |
getPublishStatus()
The publish status of the rule.
|
java.lang.String |
getRuleArn()
The Amazon Resource Name (ARN) of the rule.
|
java.lang.String |
getRuleId()
A unique identifier for the rule.
|
int |
hashCode() |
void |
setActionSummaries(java.util.Collection<ActionSummary> actionSummaries)
A list of ActionTypes associated with a rule.
|
void |
setCreatedTime(java.util.Date createdTime)
The timestamp for when the rule was created.
|
void |
setEventSourceName(EventSourceName eventSourceName)
The name of the event source.
|
void |
setEventSourceName(java.lang.String eventSourceName)
The name of the event source.
|
void |
setLastUpdatedTime(java.util.Date lastUpdatedTime)
The timestamp for when the rule was last updated.
|
void |
setName(java.lang.String name)
The name of the rule.
|
void |
setPublishStatus(RulePublishStatus publishStatus)
The publish status of the rule.
|
void |
setPublishStatus(java.lang.String publishStatus)
The publish status of the rule.
|
void |
setRuleArn(java.lang.String ruleArn)
The Amazon Resource Name (ARN) of the rule.
|
void |
setRuleId(java.lang.String ruleId)
A unique identifier for the rule.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RuleSummary |
withActionSummaries(ActionSummary... actionSummaries)
A list of ActionTypes associated with a rule.
|
RuleSummary |
withActionSummaries(java.util.Collection<ActionSummary> actionSummaries)
A list of ActionTypes associated with a rule.
|
RuleSummary |
withCreatedTime(java.util.Date createdTime)
The timestamp for when the rule was created.
|
RuleSummary |
withEventSourceName(EventSourceName eventSourceName)
The name of the event source.
|
RuleSummary |
withEventSourceName(java.lang.String eventSourceName)
The name of the event source.
|
RuleSummary |
withLastUpdatedTime(java.util.Date lastUpdatedTime)
The timestamp for when the rule was last updated.
|
RuleSummary |
withName(java.lang.String name)
The name of the rule.
|
RuleSummary |
withPublishStatus(RulePublishStatus publishStatus)
The publish status of the rule.
|
RuleSummary |
withPublishStatus(java.lang.String publishStatus)
The publish status of the rule.
|
RuleSummary |
withRuleArn(java.lang.String ruleArn)
The Amazon Resource Name (ARN) of the rule.
|
RuleSummary |
withRuleId(java.lang.String ruleId)
A unique identifier for the rule.
|
public java.lang.String getName()
The name of the rule.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
The name of the rule.
public void setName(java.lang.String name)
The name of the rule.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
name - The name of the rule.
public RuleSummary withName(java.lang.String name)
The name of the rule.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
name - The name of the rule.
public java.lang.String getRuleId()
A unique identifier for the rule.
Constraints:
Length: 1 - 256
A unique identifier for the rule.
public void setRuleId(java.lang.String ruleId)
A unique identifier for the rule.
Constraints:
Length: 1 - 256
ruleId - A unique identifier for the rule.
public RuleSummary withRuleId(java.lang.String ruleId)
A unique identifier for the rule.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
ruleId - A unique identifier for the rule.
public java.lang.String getRuleArn()
The Amazon Resource Name (ARN) of the rule.
The Amazon Resource Name (ARN) of the rule.
public void setRuleArn(java.lang.String ruleArn)
The Amazon Resource Name (ARN) of the rule.
ruleArn - The Amazon Resource Name (ARN) of the rule.
public RuleSummary withRuleArn(java.lang.String ruleArn)
The Amazon Resource Name (ARN) of the rule.
Returns a reference to this object so that method calls can be chained together.
ruleArn - The Amazon Resource Name (ARN) of the rule.
public java.lang.String getEventSourceName()
The name of the event source.
Constraints:
Allowed Values: OnPostCallAnalysisAvailable,
OnRealTimeCallAnalysisAvailable, OnPostChatAnalysisAvailable,
OnZendeskTicketCreate, OnZendeskTicketStatusUpdate,
OnSalesforceCaseCreate, OnContactEvaluationSubmit
The name of the event source.
EventSourceNamepublic void setEventSourceName(java.lang.String eventSourceName)
The name of the event source.
Constraints:
Allowed Values: OnPostCallAnalysisAvailable,
OnRealTimeCallAnalysisAvailable, OnPostChatAnalysisAvailable,
OnZendeskTicketCreate, OnZendeskTicketStatusUpdate,
OnSalesforceCaseCreate, OnContactEvaluationSubmit
eventSourceName - The name of the event source.
EventSourceNamepublic RuleSummary withEventSourceName(java.lang.String eventSourceName)
The name of the event source.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: OnPostCallAnalysisAvailable,
OnRealTimeCallAnalysisAvailable, OnPostChatAnalysisAvailable,
OnZendeskTicketCreate, OnZendeskTicketStatusUpdate,
OnSalesforceCaseCreate, OnContactEvaluationSubmit
eventSourceName - The name of the event source.
EventSourceNamepublic void setEventSourceName(EventSourceName eventSourceName)
The name of the event source.
Constraints:
Allowed Values: OnPostCallAnalysisAvailable,
OnRealTimeCallAnalysisAvailable, OnPostChatAnalysisAvailable,
OnZendeskTicketCreate, OnZendeskTicketStatusUpdate,
OnSalesforceCaseCreate, OnContactEvaluationSubmit
eventSourceName - The name of the event source.
EventSourceNamepublic RuleSummary withEventSourceName(EventSourceName eventSourceName)
The name of the event source.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: OnPostCallAnalysisAvailable,
OnRealTimeCallAnalysisAvailable, OnPostChatAnalysisAvailable,
OnZendeskTicketCreate, OnZendeskTicketStatusUpdate,
OnSalesforceCaseCreate, OnContactEvaluationSubmit
eventSourceName - The name of the event source.
EventSourceNamepublic java.lang.String getPublishStatus()
The publish status of the rule.
Constraints:
Allowed Values: DRAFT, PUBLISHED
The publish status of the rule.
RulePublishStatuspublic void setPublishStatus(java.lang.String publishStatus)
The publish status of the rule.
Constraints:
Allowed Values: DRAFT, PUBLISHED
publishStatus - The publish status of the rule.
RulePublishStatuspublic RuleSummary withPublishStatus(java.lang.String publishStatus)
The publish status of the rule.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DRAFT, PUBLISHED
publishStatus - The publish status of the rule.
RulePublishStatuspublic void setPublishStatus(RulePublishStatus publishStatus)
The publish status of the rule.
Constraints:
Allowed Values: DRAFT, PUBLISHED
publishStatus - The publish status of the rule.
RulePublishStatuspublic RuleSummary withPublishStatus(RulePublishStatus publishStatus)
The publish status of the rule.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DRAFT, PUBLISHED
publishStatus - The publish status of the rule.
RulePublishStatuspublic java.util.List<ActionSummary> getActionSummaries()
A list of ActionTypes associated with a rule.
A list of ActionTypes associated with a rule.
public void setActionSummaries(java.util.Collection<ActionSummary> actionSummaries)
A list of ActionTypes associated with a rule.
actionSummaries - A list of ActionTypes associated with a rule.
public RuleSummary withActionSummaries(ActionSummary... actionSummaries)
A list of ActionTypes associated with a rule.
Returns a reference to this object so that method calls can be chained together.
actionSummaries - A list of ActionTypes associated with a rule.
public RuleSummary withActionSummaries(java.util.Collection<ActionSummary> actionSummaries)
A list of ActionTypes associated with a rule.
Returns a reference to this object so that method calls can be chained together.
actionSummaries - A list of ActionTypes associated with a rule.
public java.util.Date getCreatedTime()
The timestamp for when the rule was created.
The timestamp for when the rule was created.
public void setCreatedTime(java.util.Date createdTime)
The timestamp for when the rule was created.
createdTime - The timestamp for when the rule was created.
public RuleSummary withCreatedTime(java.util.Date createdTime)
The timestamp for when the rule was created.
Returns a reference to this object so that method calls can be chained together.
createdTime - The timestamp for when the rule was created.
public java.util.Date getLastUpdatedTime()
The timestamp for when the rule was last updated.
The timestamp for when the rule was last updated.
public void setLastUpdatedTime(java.util.Date lastUpdatedTime)
The timestamp for when the rule was last updated.
lastUpdatedTime - The timestamp for when the rule was last updated.
public RuleSummary withLastUpdatedTime(java.util.Date lastUpdatedTime)
The timestamp for when the rule was last updated.
Returns a reference to this object so that method calls can be chained together.
lastUpdatedTime - The timestamp for when the rule was last updated.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object