@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ManagedRuleDescription extends Object implements Serializable, Cloneable
Contains information about managed Contributor Insights rules, as returned by ListManagedInsightRules
.
Constructor and Description |
---|
ManagedRuleDescription() |
Modifier and Type | Method and Description |
---|---|
ManagedRuleDescription |
clone() |
boolean |
equals(Object obj) |
String |
getResourceARN()
If a managed rule is enabled, this is the ARN for the related Amazon Web Services resource.
|
ManagedRuleState |
getRuleState()
Describes the state of a managed rule.
|
String |
getTemplateName()
The template name for the managed rule.
|
int |
hashCode() |
void |
setResourceARN(String resourceARN)
If a managed rule is enabled, this is the ARN for the related Amazon Web Services resource.
|
void |
setRuleState(ManagedRuleState ruleState)
Describes the state of a managed rule.
|
void |
setTemplateName(String templateName)
The template name for the managed rule.
|
String |
toString()
Returns a string representation of this object.
|
ManagedRuleDescription |
withResourceARN(String resourceARN)
If a managed rule is enabled, this is the ARN for the related Amazon Web Services resource.
|
ManagedRuleDescription |
withRuleState(ManagedRuleState ruleState)
Describes the state of a managed rule.
|
ManagedRuleDescription |
withTemplateName(String templateName)
The template name for the managed rule.
|
public void setTemplateName(String templateName)
The template name for the managed rule. Used to enable managed rules using PutManagedInsightRules
.
templateName
- The template name for the managed rule. Used to enable managed rules using
PutManagedInsightRules
.public String getTemplateName()
The template name for the managed rule. Used to enable managed rules using PutManagedInsightRules
.
PutManagedInsightRules
.public ManagedRuleDescription withTemplateName(String templateName)
The template name for the managed rule. Used to enable managed rules using PutManagedInsightRules
.
templateName
- The template name for the managed rule. Used to enable managed rules using
PutManagedInsightRules
.public void setResourceARN(String resourceARN)
If a managed rule is enabled, this is the ARN for the related Amazon Web Services resource.
resourceARN
- If a managed rule is enabled, this is the ARN for the related Amazon Web Services resource.public String getResourceARN()
If a managed rule is enabled, this is the ARN for the related Amazon Web Services resource.
public ManagedRuleDescription withResourceARN(String resourceARN)
If a managed rule is enabled, this is the ARN for the related Amazon Web Services resource.
resourceARN
- If a managed rule is enabled, this is the ARN for the related Amazon Web Services resource.public void setRuleState(ManagedRuleState ruleState)
Describes the state of a managed rule. If present, it contains information about the Contributor Insights rule that contains information about the related Amazon Web Services resource.
ruleState
- Describes the state of a managed rule. If present, it contains information about the Contributor Insights
rule that contains information about the related Amazon Web Services resource.public ManagedRuleState getRuleState()
Describes the state of a managed rule. If present, it contains information about the Contributor Insights rule that contains information about the related Amazon Web Services resource.
public ManagedRuleDescription withRuleState(ManagedRuleState ruleState)
Describes the state of a managed rule. If present, it contains information about the Contributor Insights rule that contains information about the related Amazon Web Services resource.
ruleState
- Describes the state of a managed rule. If present, it contains information about the Contributor Insights
rule that contains information about the related Amazon Web Services resource.public String toString()
toString
in class Object
Object.toString()
public ManagedRuleDescription clone()