@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCallAnalyticsCategoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateCallAnalyticsCategoryRequest() |
Modifier and Type | Method and Description |
---|---|
CreateCallAnalyticsCategoryRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCategoryName()
The name that you choose for your category when you create it.
|
List<Rule> |
getRules()
To create a category, you must specify between 1 and 20 rules.
|
int |
hashCode() |
void |
setCategoryName(String categoryName)
The name that you choose for your category when you create it.
|
void |
setRules(Collection<Rule> rules)
To create a category, you must specify between 1 and 20 rules.
|
String |
toString()
Returns a string representation of this object.
|
CreateCallAnalyticsCategoryRequest |
withCategoryName(String categoryName)
The name that you choose for your category when you create it.
|
CreateCallAnalyticsCategoryRequest |
withRules(Collection<Rule> rules)
To create a category, you must specify between 1 and 20 rules.
|
CreateCallAnalyticsCategoryRequest |
withRules(Rule... rules)
To create a category, you must specify between 1 and 20 rules.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCategoryName(String categoryName)
The name that you choose for your category when you create it.
categoryName
- The name that you choose for your category when you create it.public String getCategoryName()
The name that you choose for your category when you create it.
public CreateCallAnalyticsCategoryRequest withCategoryName(String categoryName)
The name that you choose for your category when you create it.
categoryName
- The name that you choose for your category when you create it.public List<Rule> getRules()
To create a category, you must specify between 1 and 20 rules. For each rule, you specify a filter to be applied to the attributes of the call. For example, you can specify a sentiment filter to detect if the customer's sentiment was negative or neutral.
public void setRules(Collection<Rule> rules)
To create a category, you must specify between 1 and 20 rules. For each rule, you specify a filter to be applied to the attributes of the call. For example, you can specify a sentiment filter to detect if the customer's sentiment was negative or neutral.
rules
- To create a category, you must specify between 1 and 20 rules. For each rule, you specify a filter to be
applied to the attributes of the call. For example, you can specify a sentiment filter to detect if the
customer's sentiment was negative or neutral.public CreateCallAnalyticsCategoryRequest withRules(Rule... rules)
To create a category, you must specify between 1 and 20 rules. For each rule, you specify a filter to be applied to the attributes of the call. For example, you can specify a sentiment filter to detect if the customer's sentiment was negative or neutral.
NOTE: This method appends the values to the existing list (if any). Use
setRules(java.util.Collection)
or withRules(java.util.Collection)
if you want to override the
existing values.
rules
- To create a category, you must specify between 1 and 20 rules. For each rule, you specify a filter to be
applied to the attributes of the call. For example, you can specify a sentiment filter to detect if the
customer's sentiment was negative or neutral.public CreateCallAnalyticsCategoryRequest withRules(Collection<Rule> rules)
To create a category, you must specify between 1 and 20 rules. For each rule, you specify a filter to be applied to the attributes of the call. For example, you can specify a sentiment filter to detect if the customer's sentiment was negative or neutral.
rules
- To create a category, you must specify between 1 and 20 rules. For each rule, you specify a filter to be
applied to the attributes of the call. For example, you can specify a sentiment filter to detect if the
customer's sentiment was negative or neutral.public String toString()
toString
in class Object
Object.toString()
public CreateCallAnalyticsCategoryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()