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 Summary
ConstructorsConstructorDescriptionCreates an instance of UrlSigningActionParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the algorithm property: Algorithm to use for URL signing.static UrlSigningActionParametersfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of UrlSigningActionParameters from the JsonReader.Get the parameterNameOverride property: Defines which query string parameters in the url to be considered for expires, key id etc.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) typeName()Get the typeName property: The typeName property.voidvalidate()Validates the instance.withAlgorithm(Algorithm algorithm) Set the algorithm property: Algorithm to use for URL signing.withParameterNameOverride(List<UrlSigningParamIdentifier> parameterNameOverride) Set the parameterNameOverride property: Defines which query string parameters in the url to be considered for expires, key id etc.withTypeName(String typeName) Set the typeName property: The typeName property.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
UrlSigningActionParameters
public UrlSigningActionParameters()Creates an instance of UrlSigningActionParameters class.
-
-
Method Details
-
typeName
Get the typeName property: The typeName property.- Returns:
- the typeName value.
-
withTypeName
Set the typeName property: The typeName property.- Parameters:
typeName- the typeName value to set.- Returns:
- the UrlSigningActionParameters object itself.
-
algorithm
Get the algorithm property: Algorithm to use for URL signing.- Returns:
- the algorithm value.
-
withAlgorithm
Set the algorithm property: Algorithm to use for URL signing.- Parameters:
algorithm- the algorithm value to set.- Returns:
- the UrlSigningActionParameters object itself.
-
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
- Specified by:
toJsonin interfacecom.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.
-