Interface PolicyDefinition.DefinitionStages.WithParameters
- All Known Subinterfaces:
PolicyDefinition.Definition,PolicyDefinition.DefinitionStages.WithCreate
- Enclosing interface:
PolicyDefinition.DefinitionStages
public static interface PolicyDefinition.DefinitionStages.WithParameters
A policy definition allowing parameters to be set.
-
Method Summary
Modifier and TypeMethodDescriptionwithParameter(String name, ParameterDefinitionsValue definition) Specifies the parameters of the policy.withParameter(String name, ParameterType parameterType, Object defaultValue) Specifies the parameters of the policy.
-
Method Details
-
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
-