Interface PolicyDefinition.DefinitionStages.WithPolicyRule
- All Known Subinterfaces:
PolicyDefinition.Definition,PolicyDefinition.DefinitionStages.Blank
- Enclosing interface:
- PolicyDefinition.DefinitionStages
public static interface PolicyDefinition.DefinitionStages.WithPolicyRule
A policy definition allowing the policy rule to be set.
-
Method Summary
Modifier and TypeMethodDescriptionwithPolicyRule(Object policyRule) Specifies the rule of the policy.withPolicyRuleJson(String policyRuleJson) Specifies the rule of the policy in JSON format.
-
Method Details
-
withPolicyRule
Specifies the rule of the policy.- Parameters:
policyRule- the rule object- Returns:
- the next stage of policy definition
-
withPolicyRuleJson
Specifies the rule of the policy in JSON format.- Parameters:
policyRuleJson- the rule object- Returns:
- the next stage of policy definition
-