@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateRuleRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateRuleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<RuleAction> |
getActions()
A list of actions to be run when the rule is triggered.
|
String |
getFunction()
The conditions of the rule.
|
String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
String |
getName()
The name of the rule.
|
String |
getPublishStatus()
The publish status of the rule.
|
String |
getRuleId()
A unique identifier for the rule.
|
int |
hashCode() |
void |
setActions(Collection<RuleAction> actions)
A list of actions to be run when the rule is triggered.
|
void |
setFunction(String function)
The conditions of the rule.
|
void |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setName(String name)
The name of the rule.
|
void |
setPublishStatus(String publishStatus)
The publish status of the rule.
|
void |
setRuleId(String ruleId)
A unique identifier for the rule.
|
String |
toString()
Returns a string representation of this object.
|
UpdateRuleRequest |
withActions(Collection<RuleAction> actions)
A list of actions to be run when the rule is triggered.
|
UpdateRuleRequest |
withActions(RuleAction... actions)
A list of actions to be run when the rule is triggered.
|
UpdateRuleRequest |
withFunction(String function)
The conditions of the rule.
|
UpdateRuleRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
UpdateRuleRequest |
withName(String name)
The name of the rule.
|
UpdateRuleRequest |
withPublishStatus(RulePublishStatus publishStatus)
The publish status of the rule.
|
UpdateRuleRequest |
withPublishStatus(String publishStatus)
The publish status of the rule.
|
UpdateRuleRequest |
withRuleId(String ruleId)
A unique identifier for the rule.
|
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, withSdkRequestTimeoutpublic void setRuleId(String ruleId)
A unique identifier for the rule.
ruleId - A unique identifier for the rule.public String getRuleId()
A unique identifier for the rule.
public UpdateRuleRequest withRuleId(String ruleId)
A unique identifier for the rule.
ruleId - A unique identifier for the rule.public void setInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId - The identifier of the Amazon Connect instance. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.public String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public UpdateRuleRequest withInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId - The identifier of the Amazon Connect instance. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.public void setName(String name)
The name of the rule. You can change the name only if TriggerEventSource is one of the following
values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate |
OnSalesforceCaseCreate
name - The name of the rule. You can change the name only if TriggerEventSource is one of the
following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate |
OnSalesforceCaseCreatepublic String getName()
The name of the rule. You can change the name only if TriggerEventSource is one of the following
values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate |
OnSalesforceCaseCreate
TriggerEventSource is one of the
following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate |
OnSalesforceCaseCreatepublic UpdateRuleRequest withName(String name)
The name of the rule. You can change the name only if TriggerEventSource is one of the following
values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate |
OnSalesforceCaseCreate
name - The name of the rule. You can change the name only if TriggerEventSource is one of the
following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate |
OnSalesforceCaseCreatepublic void setFunction(String function)
The conditions of the rule.
function - The conditions of the rule.public String getFunction()
The conditions of the rule.
public UpdateRuleRequest withFunction(String function)
The conditions of the rule.
function - The conditions of the rule.public List<RuleAction> getActions()
A list of actions to be run when the rule is triggered.
public void setActions(Collection<RuleAction> actions)
A list of actions to be run when the rule is triggered.
actions - A list of actions to be run when the rule is triggered.public UpdateRuleRequest withActions(RuleAction... actions)
A list of actions to be run when the rule is triggered.
NOTE: This method appends the values to the existing list (if any). Use
setActions(java.util.Collection) or withActions(java.util.Collection) if you want to override
the existing values.
actions - A list of actions to be run when the rule is triggered.public UpdateRuleRequest withActions(Collection<RuleAction> actions)
A list of actions to be run when the rule is triggered.
actions - A list of actions to be run when the rule is triggered.public void setPublishStatus(String publishStatus)
The publish status of the rule.
publishStatus - The publish status of the rule.RulePublishStatuspublic String getPublishStatus()
The publish status of the rule.
RulePublishStatuspublic UpdateRuleRequest withPublishStatus(String publishStatus)
The publish status of the rule.
publishStatus - The publish status of the rule.RulePublishStatuspublic UpdateRuleRequest withPublishStatus(RulePublishStatus publishStatus)
The publish status of the rule.
publishStatus - The publish status of the rule.RulePublishStatuspublic String toString()
toString in class ObjectObject.toString()public UpdateRuleRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()