Class ApiVersionConstraint


  • public final class ApiVersionConstraint
    extends Object
    Control Plane Apis version constraint for the API Management service.
    • Constructor Detail

      • ApiVersionConstraint

        public ApiVersionConstraint()
    • Method Detail

      • minApiVersion

        public String minApiVersion()
        Get the minApiVersion property: Limit control plane API calls to API Management service with version equal to or newer than this value.
        Returns:
        the minApiVersion value.
      • withMinApiVersion

        public ApiVersionConstraint withMinApiVersion​(String minApiVersion)
        Set the minApiVersion property: Limit control plane API calls to API Management service with version equal to or newer than this value.
        Parameters:
        minApiVersion - the minApiVersion value to set.
        Returns:
        the ApiVersionConstraint object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.