public class DeleteRuleRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Deletes a rule for the specified Amazon Connect instance.
| Constructor and Description |
|---|
DeleteRuleRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.String |
getRuleId()
A unique identifier for the rule.
|
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
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.
|
DeleteRuleRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
DeleteRuleRequest |
withRuleId(java.lang.String ruleId)
A unique identifier for 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 DeleteRuleRequest 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 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 DeleteRuleRequest 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 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