@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ManagedRuleState extends Object implements Serializable, Cloneable
The status of a managed Contributor Insights rule.
Constructor and Description |
---|
ManagedRuleState() |
Modifier and Type | Method and Description |
---|---|
ManagedRuleState |
clone() |
boolean |
equals(Object obj) |
String |
getRuleName()
The name of the Contributor Insights rule that contains data for the specified Amazon Web Services resource.
|
String |
getState()
Indicates whether the rule is enabled or disabled.
|
int |
hashCode() |
void |
setRuleName(String ruleName)
The name of the Contributor Insights rule that contains data for the specified Amazon Web Services resource.
|
void |
setState(String state)
Indicates whether the rule is enabled or disabled.
|
String |
toString()
Returns a string representation of this object.
|
ManagedRuleState |
withRuleName(String ruleName)
The name of the Contributor Insights rule that contains data for the specified Amazon Web Services resource.
|
ManagedRuleState |
withState(String state)
Indicates whether the rule is enabled or disabled.
|
public void setRuleName(String ruleName)
The name of the Contributor Insights rule that contains data for the specified Amazon Web Services resource.
ruleName
- The name of the Contributor Insights rule that contains data for the specified Amazon Web Services
resource.public String getRuleName()
The name of the Contributor Insights rule that contains data for the specified Amazon Web Services resource.
public ManagedRuleState withRuleName(String ruleName)
The name of the Contributor Insights rule that contains data for the specified Amazon Web Services resource.
ruleName
- The name of the Contributor Insights rule that contains data for the specified Amazon Web Services
resource.public void setState(String state)
Indicates whether the rule is enabled or disabled.
state
- Indicates whether the rule is enabled or disabled.public String getState()
Indicates whether the rule is enabled or disabled.
public ManagedRuleState withState(String state)
Indicates whether the rule is enabled or disabled.
state
- Indicates whether the rule is enabled or disabled.public String toString()
toString
in class Object
Object.toString()
public ManagedRuleState clone()
Copyright © 2024. All rights reserved.