Class ContentHash
java.lang.Object
com.azure.resourcemanager.appservice.models.ContentHash
The content hash.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the algorithm property: The algorithm of the content hash.voidvalidate()Validates the instance.value()Get the value property: The value of the content hash.withAlgorithm(String algorithm) Set the algorithm property: The algorithm of the content hash.Set the value property: The value of the content hash.
-
Constructor Details
-
ContentHash
public ContentHash()Creates an instance of ContentHash class.
-
-
Method Details
-
algorithm
Get the algorithm property: The algorithm of the content hash.- Returns:
- the algorithm value.
-
withAlgorithm
Set the algorithm property: The algorithm of the content hash.- Parameters:
algorithm- the algorithm value to set.- Returns:
- the ContentHash object itself.
-
value
Get the value property: The value of the content hash.- Returns:
- the value value.
-
withValue
Set the value property: The value of the content hash.- Parameters:
value- the value value to set.- Returns:
- the ContentHash object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-