Interface PolicyAssignment.DefinitionStages.WithPolicyDefinition
- All Known Subinterfaces:
PolicyAssignment.Definition
- Enclosing interface:
- PolicyAssignment.DefinitionStages
public static interface PolicyAssignment.DefinitionStages.WithPolicyDefinition
A policy assignment allowing the policy definition to be set.
-
Method Summary
Modifier and TypeMethodDescriptionwithPolicyDefinition
(PolicyDefinition policyDefinition) Specifies the policy definition.withPolicyDefinitionId
(String policyDefinitionId) Specifies the policy assignment.
-
Method Details
-
withPolicyDefinitionId
Specifies the policy assignment.- Parameters:
policyDefinitionId
- the ID of the policy assignment- Returns:
- the next stage of policy assignment
-
withPolicyDefinition
PolicyAssignment.DefinitionStages.WithCreate withPolicyDefinition(PolicyDefinition policyDefinition) Specifies the policy definition.- Parameters:
policyDefinition
- the policy definition- Returns:
- the next stage of policy assignment
-