public final class ContentHash extends Object
Constructor and Description |
---|
ContentHash() |
Modifier and Type | Method and Description |
---|---|
String |
algorithm()
Get the algorithm property: The algorithm of the content hash.
|
void |
validate()
Validates the instance.
|
String |
value()
Get the value property: The value of the content hash.
|
ContentHash |
withAlgorithm(String algorithm)
Set the algorithm property: The algorithm of the content hash.
|
ContentHash |
withValue(String value)
Set the value property: The value of the content hash.
|
public String algorithm()
public ContentHash withAlgorithm(String algorithm)
algorithm
- the algorithm value to set.public String value()
public ContentHash withValue(String value)
value
- the value value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.