Interface PolicyDefinition.DefinitionStages.WithPolicyRule
-
- All Known Subinterfaces:
PolicyDefinition.Definition,PolicyDefinition.DefinitionStages.Blank
- Enclosing interface:
- PolicyDefinition.DefinitionStages
public static interface PolicyDefinition.DefinitionStages.WithPolicyRuleA policy definition allowing the policy rule to be set.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PolicyDefinition.DefinitionStages.WithCreatewithPolicyRule(Object policyRule)Specifies the rule of the policy.PolicyDefinition.DefinitionStages.WithCreatewithPolicyRuleJson(String policyRuleJson)Specifies the rule of the policy in JSON format.
-
-
-
Method Detail
-
withPolicyRule
PolicyDefinition.DefinitionStages.WithCreate withPolicyRule(Object policyRule)
Specifies the rule of the policy.- Parameters:
policyRule- the rule object- Returns:
- the next stage of policy definition
-
withPolicyRuleJson
PolicyDefinition.DefinitionStages.WithCreate withPolicyRuleJson(String policyRuleJson)
Specifies the rule of the policy in JSON format.- Parameters:
policyRuleJson- the rule object- Returns:
- the next stage of policy definition
-
-