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

      • typeName

        public String typeName()
        Get the typeName property: The typeName property.
        Returns:
        the typeName value.
      • withTypeName

        public CacheKeyQueryStringActionParameters withTypeName​(String typeName)
        Set the typeName property: The typeName property.
        Parameters:
        typeName - the typeName 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.