Class SubscriptionKeyParameterNamesContract


  • public final class SubscriptionKeyParameterNamesContract
    extends Object
    Subscription key parameter names details.
    • Constructor Detail

      • SubscriptionKeyParameterNamesContract

        public SubscriptionKeyParameterNamesContract()
    • Method Detail

      • headerProperty

        public String headerProperty()
        Get the headerProperty property: Subscription key header name.
        Returns:
        the headerProperty value.
      • withHeaderProperty

        public SubscriptionKeyParameterNamesContract withHeaderProperty​(String headerProperty)
        Set the headerProperty property: Subscription key header name.
        Parameters:
        headerProperty - the headerProperty value to set.
        Returns:
        the SubscriptionKeyParameterNamesContract object itself.
      • query

        public String query()
        Get the query property: Subscription key query string parameter name.
        Returns:
        the query value.
      • withQuery

        public SubscriptionKeyParameterNamesContract withQuery​(String query)
        Set the query property: Subscription key query string parameter name.
        Parameters:
        query - the query value to set.
        Returns:
        the SubscriptionKeyParameterNamesContract object itself.
      • validate

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