@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OrganizationManagedRuleMetadata extends Object implements Serializable, Cloneable, StructuredPojo
An object that specifies organization managed rule metadata such as resource type and ID of Amazon Web Services resource along with the rule identifier. It also provides the frequency with which you want Config to run evaluations for the rule if the trigger type is periodic.
Constructor and Description |
---|
OrganizationManagedRuleMetadata() |
Modifier and Type | Method and Description |
---|---|
OrganizationManagedRuleMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description that you provide for your organization Config rule.
|
String |
getInputParameters()
A string, in JSON format, that is passed to your organization Config rule Lambda function.
|
String |
getMaximumExecutionFrequency()
The maximum frequency with which Config runs evaluations for a rule.
|
String |
getResourceIdScope()
The ID of the Amazon Web Services resource that was evaluated.
|
List<String> |
getResourceTypesScope()
The type of the Amazon Web Services resource that was evaluated.
|
String |
getRuleIdentifier()
For organization config managed rules, a predefined identifier from a list.
|
String |
getTagKeyScope()
One part of a key-value pair that make up a tag.
|
String |
getTagValueScope()
The optional part of a key-value pair that make up a tag.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
The description that you provide for your organization Config rule.
|
void |
setInputParameters(String inputParameters)
A string, in JSON format, that is passed to your organization Config rule Lambda function.
|
void |
setMaximumExecutionFrequency(String maximumExecutionFrequency)
The maximum frequency with which Config runs evaluations for a rule.
|
void |
setResourceIdScope(String resourceIdScope)
The ID of the Amazon Web Services resource that was evaluated.
|
void |
setResourceTypesScope(Collection<String> resourceTypesScope)
The type of the Amazon Web Services resource that was evaluated.
|
void |
setRuleIdentifier(String ruleIdentifier)
For organization config managed rules, a predefined identifier from a list.
|
void |
setTagKeyScope(String tagKeyScope)
One part of a key-value pair that make up a tag.
|
void |
setTagValueScope(String tagValueScope)
The optional part of a key-value pair that make up a tag.
|
String |
toString()
Returns a string representation of this object.
|
OrganizationManagedRuleMetadata |
withDescription(String description)
The description that you provide for your organization Config rule.
|
OrganizationManagedRuleMetadata |
withInputParameters(String inputParameters)
A string, in JSON format, that is passed to your organization Config rule Lambda function.
|
OrganizationManagedRuleMetadata |
withMaximumExecutionFrequency(MaximumExecutionFrequency maximumExecutionFrequency)
The maximum frequency with which Config runs evaluations for a rule.
|
OrganizationManagedRuleMetadata |
withMaximumExecutionFrequency(String maximumExecutionFrequency)
The maximum frequency with which Config runs evaluations for a rule.
|
OrganizationManagedRuleMetadata |
withResourceIdScope(String resourceIdScope)
The ID of the Amazon Web Services resource that was evaluated.
|
OrganizationManagedRuleMetadata |
withResourceTypesScope(Collection<String> resourceTypesScope)
The type of the Amazon Web Services resource that was evaluated.
|
OrganizationManagedRuleMetadata |
withResourceTypesScope(String... resourceTypesScope)
The type of the Amazon Web Services resource that was evaluated.
|
OrganizationManagedRuleMetadata |
withRuleIdentifier(String ruleIdentifier)
For organization config managed rules, a predefined identifier from a list.
|
OrganizationManagedRuleMetadata |
withTagKeyScope(String tagKeyScope)
One part of a key-value pair that make up a tag.
|
OrganizationManagedRuleMetadata |
withTagValueScope(String tagValueScope)
The optional part of a key-value pair that make up a tag.
|
public void setDescription(String description)
The description that you provide for your organization Config rule.
description
- The description that you provide for your organization Config rule.public String getDescription()
The description that you provide for your organization Config rule.
public OrganizationManagedRuleMetadata withDescription(String description)
The description that you provide for your organization Config rule.
description
- The description that you provide for your organization Config rule.public void setRuleIdentifier(String ruleIdentifier)
For organization config managed rules, a predefined identifier from a list. For example,
IAM_PASSWORD_POLICY
is a managed rule. To reference a managed rule, see Using
Config managed rules.
ruleIdentifier
- For organization config managed rules, a predefined identifier from a list. For example,
IAM_PASSWORD_POLICY
is a managed rule. To reference a managed rule, see Using Config managed rules.public String getRuleIdentifier()
For organization config managed rules, a predefined identifier from a list. For example,
IAM_PASSWORD_POLICY
is a managed rule. To reference a managed rule, see Using
Config managed rules.
IAM_PASSWORD_POLICY
is a managed rule. To reference a managed rule, see Using Config managed rules.public OrganizationManagedRuleMetadata withRuleIdentifier(String ruleIdentifier)
For organization config managed rules, a predefined identifier from a list. For example,
IAM_PASSWORD_POLICY
is a managed rule. To reference a managed rule, see Using
Config managed rules.
ruleIdentifier
- For organization config managed rules, a predefined identifier from a list. For example,
IAM_PASSWORD_POLICY
is a managed rule. To reference a managed rule, see Using Config managed rules.public void setInputParameters(String inputParameters)
A string, in JSON format, that is passed to your organization Config rule Lambda function.
inputParameters
- A string, in JSON format, that is passed to your organization Config rule Lambda function.public String getInputParameters()
A string, in JSON format, that is passed to your organization Config rule Lambda function.
public OrganizationManagedRuleMetadata withInputParameters(String inputParameters)
A string, in JSON format, that is passed to your organization Config rule Lambda function.
inputParameters
- A string, in JSON format, that is passed to your organization Config rule Lambda function.public void setMaximumExecutionFrequency(String maximumExecutionFrequency)
The maximum frequency with which Config runs evaluations for a rule. This is for an Config managed rule that is triggered at a periodic frequency.
By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid
value for the MaximumExecutionFrequency
parameter.
maximumExecutionFrequency
- The maximum frequency with which Config runs evaluations for a rule. This is for an Config managed rule
that is triggered at a periodic frequency.
By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a
valid value for the MaximumExecutionFrequency
parameter.
MaximumExecutionFrequency
public String getMaximumExecutionFrequency()
The maximum frequency with which Config runs evaluations for a rule. This is for an Config managed rule that is triggered at a periodic frequency.
By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid
value for the MaximumExecutionFrequency
parameter.
By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify
a valid value for the MaximumExecutionFrequency
parameter.
MaximumExecutionFrequency
public OrganizationManagedRuleMetadata withMaximumExecutionFrequency(String maximumExecutionFrequency)
The maximum frequency with which Config runs evaluations for a rule. This is for an Config managed rule that is triggered at a periodic frequency.
By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid
value for the MaximumExecutionFrequency
parameter.
maximumExecutionFrequency
- The maximum frequency with which Config runs evaluations for a rule. This is for an Config managed rule
that is triggered at a periodic frequency.
By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a
valid value for the MaximumExecutionFrequency
parameter.
MaximumExecutionFrequency
public OrganizationManagedRuleMetadata withMaximumExecutionFrequency(MaximumExecutionFrequency maximumExecutionFrequency)
The maximum frequency with which Config runs evaluations for a rule. This is for an Config managed rule that is triggered at a periodic frequency.
By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid
value for the MaximumExecutionFrequency
parameter.
maximumExecutionFrequency
- The maximum frequency with which Config runs evaluations for a rule. This is for an Config managed rule
that is triggered at a periodic frequency.
By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a
valid value for the MaximumExecutionFrequency
parameter.
MaximumExecutionFrequency
public List<String> getResourceTypesScope()
The type of the Amazon Web Services resource that was evaluated.
public void setResourceTypesScope(Collection<String> resourceTypesScope)
The type of the Amazon Web Services resource that was evaluated.
resourceTypesScope
- The type of the Amazon Web Services resource that was evaluated.public OrganizationManagedRuleMetadata withResourceTypesScope(String... resourceTypesScope)
The type of the Amazon Web Services resource that was evaluated.
NOTE: This method appends the values to the existing list (if any). Use
setResourceTypesScope(java.util.Collection)
or withResourceTypesScope(java.util.Collection)
if
you want to override the existing values.
resourceTypesScope
- The type of the Amazon Web Services resource that was evaluated.public OrganizationManagedRuleMetadata withResourceTypesScope(Collection<String> resourceTypesScope)
The type of the Amazon Web Services resource that was evaluated.
resourceTypesScope
- The type of the Amazon Web Services resource that was evaluated.public void setResourceIdScope(String resourceIdScope)
The ID of the Amazon Web Services resource that was evaluated.
resourceIdScope
- The ID of the Amazon Web Services resource that was evaluated.public String getResourceIdScope()
The ID of the Amazon Web Services resource that was evaluated.
public OrganizationManagedRuleMetadata withResourceIdScope(String resourceIdScope)
The ID of the Amazon Web Services resource that was evaluated.
resourceIdScope
- The ID of the Amazon Web Services resource that was evaluated.public void setTagKeyScope(String tagKeyScope)
One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values.
tagKeyScope
- One part of a key-value pair that make up a tag. A key is a general label that acts like a category for
more specific tag values.public String getTagKeyScope()
One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values.
public OrganizationManagedRuleMetadata withTagKeyScope(String tagKeyScope)
One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values.
tagKeyScope
- One part of a key-value pair that make up a tag. A key is a general label that acts like a category for
more specific tag values.public void setTagValueScope(String tagValueScope)
The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).
tagValueScope
- The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag
category (key).public String getTagValueScope()
The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).
public OrganizationManagedRuleMetadata withTagValueScope(String tagValueScope)
The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).
tagValueScope
- The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag
category (key).public String toString()
toString
in class Object
Object.toString()
public OrganizationManagedRuleMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.