@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateRuleSetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateRuleSetRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateRuleSetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Rule> |
getRules()
A new set of rules to replace the current rules of the rule set—these rules will override all the rules of the
rule set.
|
String |
getRuleSetId()
The identifier of a rule set you want to update.
|
String |
getRuleSetName()
A user-friendly name for the rule set resource.
|
int |
hashCode() |
void |
setRules(Collection<Rule> rules)
A new set of rules to replace the current rules of the rule set—these rules will override all the rules of the
rule set.
|
void |
setRuleSetId(String ruleSetId)
The identifier of a rule set you want to update.
|
void |
setRuleSetName(String ruleSetName)
A user-friendly name for the rule set resource.
|
String |
toString()
Returns a string representation of this object.
|
UpdateRuleSetRequest |
withRules(Collection<Rule> rules)
A new set of rules to replace the current rules of the rule set—these rules will override all the rules of the
rule set.
|
UpdateRuleSetRequest |
withRules(Rule... rules)
A new set of rules to replace the current rules of the rule set—these rules will override all the rules of the
rule set.
|
UpdateRuleSetRequest |
withRuleSetId(String ruleSetId)
The identifier of a rule set you want to update.
|
UpdateRuleSetRequest |
withRuleSetName(String ruleSetName)
A user-friendly name for the rule set resource.
|
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 setRuleSetId(String ruleSetId)
The identifier of a rule set you want to update.
ruleSetId - The identifier of a rule set you want to update.public String getRuleSetId()
The identifier of a rule set you want to update.
public UpdateRuleSetRequest withRuleSetId(String ruleSetId)
The identifier of a rule set you want to update.
ruleSetId - The identifier of a rule set you want to update.public void setRuleSetName(String ruleSetName)
A user-friendly name for the rule set resource.
ruleSetName - A user-friendly name for the rule set resource.public String getRuleSetName()
A user-friendly name for the rule set resource.
public UpdateRuleSetRequest withRuleSetName(String ruleSetName)
A user-friendly name for the rule set resource.
ruleSetName - A user-friendly name for the rule set resource.public List<Rule> getRules()
A new set of rules to replace the current rules of the rule set—these rules will override all the rules of the rule set.
public void setRules(Collection<Rule> rules)
A new set of rules to replace the current rules of the rule set—these rules will override all the rules of the rule set.
rules - A new set of rules to replace the current rules of the rule set—these rules will override all the rules of
the rule set.public UpdateRuleSetRequest withRules(Rule... rules)
A new set of rules to replace the current rules of the rule set—these rules will override all the rules of the rule set.
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 - A new set of rules to replace the current rules of the rule set—these rules will override all the rules of
the rule set.public UpdateRuleSetRequest withRules(Collection<Rule> rules)
A new set of rules to replace the current rules of the rule set—these rules will override all the rules of the rule set.
rules - A new set of rules to replace the current rules of the rule set—these rules will override all the rules of
the rule set.public String toString()
toString in class ObjectObject.toString()public UpdateRuleSetRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()