Class UrlSigningParamIdentifier


  • public final class UrlSigningParamIdentifier
    extends Object
    Defines how to identify a parameter for a specific purpose e.g. expires.
    • Constructor Detail

      • UrlSigningParamIdentifier

        public UrlSigningParamIdentifier()
    • Method Detail

      • paramIndicator

        public ParamIndicator paramIndicator()
        Get the paramIndicator property: Indicates the purpose of the parameter.
        Returns:
        the paramIndicator value.
      • withParamIndicator

        public UrlSigningParamIdentifier withParamIndicator​(ParamIndicator paramIndicator)
        Set the paramIndicator property: Indicates the purpose of the parameter.
        Parameters:
        paramIndicator - the paramIndicator value to set.
        Returns:
        the UrlSigningParamIdentifier object itself.
      • paramName

        public String paramName()
        Get the paramName property: Parameter name.
        Returns:
        the paramName value.
      • withParamName

        public UrlSigningParamIdentifier withParamName​(String paramName)
        Set the paramName property: Parameter name.
        Parameters:
        paramName - the paramName value to set.
        Returns:
        the UrlSigningParamIdentifier object itself.
      • validate

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