ContentHash Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. ContentHash
- com.
Implements
public final class ContentHash
implements JsonSerializable<ContentHash>
The content hash.
Constructor Summary
Constructor | Description |
---|---|
ContentHash() |
Creates an instance of Content |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
algorithm()
Get the algorithm property: The algorithm of the content hash. |
static
Content |
fromJson(JsonReader jsonReader)
Reads an instance of Content |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: The value of the content hash. |
Content |
withAlgorithm(String algorithm)
Set the algorithm property: The algorithm of the content hash. |
Content |
withValue(String value)
Set the value property: The value of the content hash. |
Methods inherited from java.lang.Object
Constructor Details
ContentHash
public ContentHash()
Creates an instance of ContentHash class.
Method Details
algorithm
public String algorithm()
Get the algorithm property: The algorithm of the content hash.
Returns:
fromJson
public static ContentHash fromJson(JsonReader jsonReader)
Reads an instance of ContentHash from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: The value of the content hash.
Returns:
withAlgorithm
public ContentHash withAlgorithm(String algorithm)
Set the algorithm property: The algorithm of the content hash.
Parameters:
Returns:
withValue
public ContentHash withValue(String value)
Set the value property: The value of the content hash.
Parameters:
Returns:
Applies to
Azure SDK for Java