Interface Policy.DefinitionStages.WithThreshold

All Known Subinterfaces:
Policy.Definition, Policy.DefinitionStages.WithCreate
Enclosing interface:
Policy.DefinitionStages

public static interface Policy.DefinitionStages.WithThreshold
The stage of the Policy definition allowing to specify threshold.
  • Method Details

    • withThreshold

      Policy.DefinitionStages.WithCreate withThreshold(String threshold)
      Specifies the threshold property: The threshold of the policy (i.e. a number for MaxValuePolicy, and a JSON array of values for AllowedValuesPolicy)..
      Parameters:
      threshold - The threshold of the policy (i.e. a number for MaxValuePolicy, and a JSON array of values for AllowedValuesPolicy).
      Returns:
      the next definition stage.