Class UrlSigningActionParameters

java.lang.Object
com.azure.resourcemanager.cdn.models.UrlSigningActionParameters
All Implemented Interfaces:
com.azure.json.JsonSerializable<UrlSigningActionParameters>

public final class UrlSigningActionParameters extends Object implements com.azure.json.JsonSerializable<UrlSigningActionParameters>
Defines the parameters for the Url Signing action.
  • Constructor Details

    • UrlSigningActionParameters

      public UrlSigningActionParameters()
      Creates an instance of UrlSigningActionParameters class.
  • Method Details

    • typeName

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

      public UrlSigningActionParameters withTypeName(String typeName)
      Set the typeName property: The typeName property.
      Parameters:
      typeName - the typeName value to set.
      Returns:
      the UrlSigningActionParameters object itself.
    • algorithm

      public Algorithm algorithm()
      Get the algorithm property: Algorithm to use for URL signing.
      Returns:
      the algorithm value.
    • withAlgorithm

      public UrlSigningActionParameters withAlgorithm(Algorithm algorithm)
      Set the algorithm property: Algorithm to use for URL signing.
      Parameters:
      algorithm - the algorithm value to set.
      Returns:
      the UrlSigningActionParameters object itself.
    • parameterNameOverride

      public List<UrlSigningParamIdentifier> parameterNameOverride()
      Get the parameterNameOverride property: Defines which query string parameters in the url to be considered for expires, key id etc.
      Returns:
      the parameterNameOverride value.
    • withParameterNameOverride

      public UrlSigningActionParameters withParameterNameOverride(List<UrlSigningParamIdentifier> parameterNameOverride)
      Set the parameterNameOverride property: Defines which query string parameters in the url to be considered for expires, key id etc.
      Parameters:
      parameterNameOverride - the parameterNameOverride value to set.
      Returns:
      the UrlSigningActionParameters object itself.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<UrlSigningActionParameters>
      Throws:
      IOException
    • fromJson

      public static UrlSigningActionParameters fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of UrlSigningActionParameters from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of UrlSigningActionParameters if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the UrlSigningActionParameters.