Interface PolicyDefinition.DefinitionStages.WithParameters
-
- All Known Subinterfaces:
PolicyDefinition.Definition,PolicyDefinition.DefinitionStages.WithCreate
- Enclosing interface:
- PolicyDefinition.DefinitionStages
public static interface PolicyDefinition.DefinitionStages.WithParametersA policy definition allowing parameters to be set.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PolicyDefinition.DefinitionStages.WithCreatewithParameter(String name, ParameterDefinitionsValue definition)Specifies the parameters of the policy.PolicyDefinition.DefinitionStages.WithCreatewithParameter(String name, ParameterType parameterType, Object defaultValue)Specifies the parameters of the policy.
-
-
-
Method Detail
-
withParameter
PolicyDefinition.DefinitionStages.WithCreate withParameter(String name, ParameterDefinitionsValue definition)
Specifies the parameters of the policy.- Parameters:
name- the name of the parameterdefinition- the definition of the parameter- Returns:
- the next stage of policy definition
-
withParameter
PolicyDefinition.DefinitionStages.WithCreate withParameter(String name, ParameterType parameterType, Object defaultValue)
Specifies the parameters of the policy.- Parameters:
name- the name of the parameterparameterType- the type of the parameterdefaultValue- the default value of the parameter- Returns:
- the next stage of policy definition
-
-