public static final class ManagedRuleProps.Builder
extends java.lang.Object
ManagedRuleProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ManagedRuleProps |
build()
Builds the configured instance.
|
ManagedRuleProps.Builder |
configRuleName(java.lang.String configRuleName)
Sets the value of
RuleProps.getConfigRuleName() |
ManagedRuleProps.Builder |
description(java.lang.String description)
Sets the value of
RuleProps.getDescription() |
ManagedRuleProps.Builder |
identifier(java.lang.String identifier)
Sets the value of
ManagedRuleProps.getIdentifier() |
ManagedRuleProps.Builder |
inputParameters(java.util.Map<java.lang.String,? extends java.lang.Object> inputParameters)
Sets the value of
RuleProps.getInputParameters() |
ManagedRuleProps.Builder |
maximumExecutionFrequency(MaximumExecutionFrequency maximumExecutionFrequency)
Sets the value of
RuleProps.getMaximumExecutionFrequency() |
ManagedRuleProps.Builder |
ruleScope(RuleScope ruleScope)
Sets the value of
RuleProps.getRuleScope() |
public ManagedRuleProps.Builder identifier(java.lang.String identifier)
ManagedRuleProps.getIdentifier()
identifier
- The identifier of the AWS managed rule. This parameter is required.this
public ManagedRuleProps.Builder configRuleName(java.lang.String configRuleName)
RuleProps.getConfigRuleName()
configRuleName
- A name for the AWS Config rule.this
public ManagedRuleProps.Builder description(java.lang.String description)
RuleProps.getDescription()
description
- A description about this AWS Config rule.this
public ManagedRuleProps.Builder inputParameters(java.util.Map<java.lang.String,? extends java.lang.Object> inputParameters)
RuleProps.getInputParameters()
inputParameters
- Input parameter values that are passed to the AWS Config rule.this
public ManagedRuleProps.Builder maximumExecutionFrequency(MaximumExecutionFrequency maximumExecutionFrequency)
RuleProps.getMaximumExecutionFrequency()
maximumExecutionFrequency
- The maximum frequency at which the AWS Config rule runs evaluations.this
public ManagedRuleProps.Builder ruleScope(RuleScope ruleScope)
RuleProps.getRuleScope()
ruleScope
- Defines which resources trigger an evaluation for an AWS Config rule.this
public ManagedRuleProps build()
ManagedRuleProps
java.lang.NullPointerException
- if any required attribute was not provided