public class ListRulesRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
List all rules for the specified Amazon Connect instance.
| Constructor and Description |
|---|
ListRulesRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEventSourceName()
The name of the event source.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.Integer |
getMaxResults()
The maximum number of results to return per page.
|
java.lang.String |
getNextToken()
The token for the next set of results.
|
java.lang.String |
getPublishStatus()
The publish status of the rule.
|
int |
hashCode() |
void |
setEventSourceName(EventSourceName eventSourceName)
The name of the event source.
|
void |
setEventSourceName(java.lang.String eventSourceName)
The name of the event source.
|
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per page.
|
void |
setNextToken(java.lang.String nextToken)
The token for the next set of results.
|
void |
setPublishStatus(RulePublishStatus publishStatus)
The publish status of the rule.
|
void |
setPublishStatus(java.lang.String publishStatus)
The publish status of the rule.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListRulesRequest |
withEventSourceName(EventSourceName eventSourceName)
The name of the event source.
|
ListRulesRequest |
withEventSourceName(java.lang.String eventSourceName)
The name of the event source.
|
ListRulesRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
ListRulesRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per page.
|
ListRulesRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of results.
|
ListRulesRequest |
withPublishStatus(RulePublishStatus publishStatus)
The publish status of the rule.
|
ListRulesRequest |
withPublishStatus(java.lang.String publishStatus)
The publish status of the rule.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public ListRulesRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public 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 ListRulesRequest 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 ListRulesRequest 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.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 ListRulesRequest 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 ListRulesRequest 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.Integer getMaxResults()
The maximum number of results to return per page.
Constraints:
Range: 1 - 200
The maximum number of results to return per page.
public void setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per page.
Constraints:
Range: 1 - 200
maxResults - The maximum number of results to return per page.
public ListRulesRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per page.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 200
maxResults - The maximum number of results to return per page.
public java.lang.String getNextToken()
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
public void setNextToken(java.lang.String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
public ListRulesRequest withNextToken(java.lang.String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Returns a reference to this object so that method calls can be chained together.
nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
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