Class CacheKeyQueryStringActionParameters


  • public final class CacheKeyQueryStringActionParameters
    extends Object
    Defines the parameters for the cache-key query string action.
    • Constructor Detail

      • CacheKeyQueryStringActionParameters

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

      • odataType

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

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

        public QueryStringBehavior queryStringBehavior()
        Get the queryStringBehavior property: Caching behavior for the requests.
        Returns:
        the queryStringBehavior value.
      • withQueryStringBehavior

        public CacheKeyQueryStringActionParameters withQueryStringBehavior​(QueryStringBehavior queryStringBehavior)
        Set the queryStringBehavior property: Caching behavior for the requests.
        Parameters:
        queryStringBehavior - the queryStringBehavior value to set.
        Returns:
        the CacheKeyQueryStringActionParameters object itself.
      • queryParameters

        public String queryParameters()
        Get the queryParameters property: query parameters to include or exclude (comma separated).
        Returns:
        the queryParameters value.
      • withQueryParameters

        public CacheKeyQueryStringActionParameters withQueryParameters​(String queryParameters)
        Set the queryParameters property: query parameters to include or exclude (comma separated).
        Parameters:
        queryParameters - the queryParameters value to set.
        Returns:
        the CacheKeyQueryStringActionParameters object itself.
      • validate

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