Class UrlSigningActionParameters
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.UrlSigningActionParameters
-
public final class UrlSigningActionParameters extends Object
Defines the parameters for the Url Signing action.
-
-
Constructor Summary
Constructors Constructor Description UrlSigningActionParameters()Creates an instance of UrlSigningActionParameters class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Algorithmalgorithm()Get the algorithm property: Algorithm to use for URL signing.StringodataType()Get the odataType property: The @odata.type property.List<UrlSigningParamIdentifier>parameterNameOverride()Get the parameterNameOverride property: Defines which query string parameters in the url to be considered for expires, key id etc.voidvalidate()Validates the instance.UrlSigningActionParameterswithAlgorithm(Algorithm algorithm)Set the algorithm property: Algorithm to use for URL signing.UrlSigningActionParameterswithOdataType(String odataType)Set the odataType property: The @odata.type property.UrlSigningActionParameterswithParameterNameOverride(List<UrlSigningParamIdentifier> parameterNameOverride)Set the parameterNameOverride property: Defines which query string parameters in the url to be considered for expires, key id etc.
-
-
-
Method Detail
-
odataType
public String odataType()
Get the odataType property: The @odata.type property.- Returns:
- the odataType value.
-
withOdataType
public UrlSigningActionParameters withOdataType(String odataType)
Set the odataType property: The @odata.type property.- Parameters:
odataType- the odataType 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.
-
-