Class RequestMethodMatchConditionParameters


  • public final class RequestMethodMatchConditionParameters
    extends Object
    Defines the parameters for RequestMethod match conditions.
    • Constructor Detail

      • RequestMethodMatchConditionParameters

        public RequestMethodMatchConditionParameters()
        Creates an instance of RequestMethodMatchConditionParameters class.
    • Method Detail

      • odataType

        public String odataType()
        Get the odataType property: The @odata.type property.
        Returns:
        the odataType value.
      • withOdataType

        public RequestMethodMatchConditionParameters withOdataType​(String odataType)
        Set the odataType property: The @odata.type property.
        Parameters:
        odataType - the odataType value to set.
        Returns:
        the RequestMethodMatchConditionParameters object itself.
      • operator

        public RequestMethodOperator operator()
        Get the operator property: Describes operator to be matched.
        Returns:
        the operator value.
      • negateCondition

        public Boolean negateCondition()
        Get the negateCondition property: Describes if this is negate condition or not.
        Returns:
        the negateCondition value.
      • withNegateCondition

        public RequestMethodMatchConditionParameters withNegateCondition​(Boolean negateCondition)
        Set the negateCondition property: Describes if this is negate condition or not.
        Parameters:
        negateCondition - the negateCondition value to set.
        Returns:
        the RequestMethodMatchConditionParameters object itself.
      • validate

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