@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutInsightRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutInsightRuleRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutInsightRuleRequest |
clone() |
boolean |
equals(Object obj) |
String |
getRuleDefinition()
The definition of the rule, as a JSON object.
|
String |
getRuleName()
A unique name for the rule.
|
String |
getRuleState()
The state of the rule.
|
int |
hashCode() |
void |
setRuleDefinition(String ruleDefinition)
The definition of the rule, as a JSON object.
|
void |
setRuleName(String ruleName)
A unique name for the rule.
|
void |
setRuleState(String ruleState)
The state of the rule.
|
String |
toString()
Returns a string representation of this object.
|
PutInsightRuleRequest |
withRuleDefinition(String ruleDefinition)
The definition of the rule, as a JSON object.
|
PutInsightRuleRequest |
withRuleName(String ruleName)
A unique name for the rule.
|
PutInsightRuleRequest |
withRuleState(String ruleState)
The state of the rule.
|
addHandlerContext, copyBaseTo, 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 setRuleName(String ruleName)
A unique name for the rule.
ruleName - A unique name for the rule.public String getRuleName()
A unique name for the rule.
public PutInsightRuleRequest withRuleName(String ruleName)
A unique name for the rule.
ruleName - A unique name for the rule.public void setRuleState(String ruleState)
The state of the rule. Valid values are ENABLED and DISABLED.
ruleState - The state of the rule. Valid values are ENABLED and DISABLED.public String getRuleState()
The state of the rule. Valid values are ENABLED and DISABLED.
public PutInsightRuleRequest withRuleState(String ruleState)
The state of the rule. Valid values are ENABLED and DISABLED.
ruleState - The state of the rule. Valid values are ENABLED and DISABLED.public void setRuleDefinition(String ruleDefinition)
The definition of the rule, as a JSON object. For details on the valid syntax, see Contributor Insights Rule Syntax.
ruleDefinition - The definition of the rule, as a JSON object. For details on the valid syntax, see Contributor Insights Rule Syntax.public String getRuleDefinition()
The definition of the rule, as a JSON object. For details on the valid syntax, see Contributor Insights Rule Syntax.
public PutInsightRuleRequest withRuleDefinition(String ruleDefinition)
The definition of the rule, as a JSON object. For details on the valid syntax, see Contributor Insights Rule Syntax.
ruleDefinition - The definition of the rule, as a JSON object. For details on the valid syntax, see Contributor Insights Rule Syntax.public String toString()
toString in class ObjectObject.toString()public PutInsightRuleRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.