@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnableInsightRulesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
EnableInsightRulesRequest() |
Modifier and Type | Method and Description |
---|---|
EnableInsightRulesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getRuleNames()
An array of the rule names to enable.
|
int |
hashCode() |
void |
setRuleNames(Collection<String> ruleNames)
An array of the rule names to enable.
|
String |
toString()
Returns a string representation of this object.
|
EnableInsightRulesRequest |
withRuleNames(Collection<String> ruleNames)
An array of the rule names to enable.
|
EnableInsightRulesRequest |
withRuleNames(String... ruleNames)
An array of the rule names to enable.
|
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 List<String> getRuleNames()
An array of the rule names to enable. If you need to find out the names of your rules, use DescribeInsightRules.
public void setRuleNames(Collection<String> ruleNames)
An array of the rule names to enable. If you need to find out the names of your rules, use DescribeInsightRules.
ruleNames
- An array of the rule names to enable. If you need to find out the names of your rules, use DescribeInsightRules.public EnableInsightRulesRequest withRuleNames(String... ruleNames)
An array of the rule names to enable. If you need to find out the names of your rules, use DescribeInsightRules.
NOTE: This method appends the values to the existing list (if any). Use
setRuleNames(java.util.Collection)
or withRuleNames(java.util.Collection)
if you want to
override the existing values.
ruleNames
- An array of the rule names to enable. If you need to find out the names of your rules, use DescribeInsightRules.public EnableInsightRulesRequest withRuleNames(Collection<String> ruleNames)
An array of the rule names to enable. If you need to find out the names of your rules, use DescribeInsightRules.
ruleNames
- An array of the rule names to enable. If you need to find out the names of your rules, use DescribeInsightRules.public String toString()
toString
in class Object
Object.toString()
public EnableInsightRulesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()