Class MicrosoftGraphHashes
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphHashes
-
public final class MicrosoftGraphHashes extends Object
hashes.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphHashes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: hashes.String
crc32Hash()
Get the crc32Hash property: The CRC32 value of the file in little endian (if available).String
quickXorHash()
Get the quickXorHash property: A proprietary hash of the file that can be used to determine if the contents of the file have changed (if available).String
sha1Hash()
Get the sha1Hash property: SHA1 hash for the contents of the file (if available).String
sha256Hash()
Get the sha256Hash property: SHA256 hash for the contents of the file (if available).void
validate()
Validates the instance.MicrosoftGraphHashes
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: hashes.MicrosoftGraphHashes
withCrc32Hash(String crc32Hash)
Set the crc32Hash property: The CRC32 value of the file in little endian (if available).MicrosoftGraphHashes
withQuickXorHash(String quickXorHash)
Set the quickXorHash property: A proprietary hash of the file that can be used to determine if the contents of the file have changed (if available).MicrosoftGraphHashes
withSha1Hash(String sha1Hash)
Set the sha1Hash property: SHA1 hash for the contents of the file (if available).MicrosoftGraphHashes
withSha256Hash(String sha256Hash)
Set the sha256Hash property: SHA256 hash for the contents of the file (if available).
-
-
-
Method Detail
-
crc32Hash
public String crc32Hash()
Get the crc32Hash property: The CRC32 value of the file in little endian (if available). Read-only.- Returns:
- the crc32Hash value.
-
withCrc32Hash
public MicrosoftGraphHashes withCrc32Hash(String crc32Hash)
Set the crc32Hash property: The CRC32 value of the file in little endian (if available). Read-only.- Parameters:
crc32Hash
- the crc32Hash value to set.- Returns:
- the MicrosoftGraphHashes object itself.
-
quickXorHash
public String quickXorHash()
Get the quickXorHash property: A proprietary hash of the file that can be used to determine if the contents of the file have changed (if available). Read-only.- Returns:
- the quickXorHash value.
-
withQuickXorHash
public MicrosoftGraphHashes withQuickXorHash(String quickXorHash)
Set the quickXorHash property: A proprietary hash of the file that can be used to determine if the contents of the file have changed (if available). Read-only.- Parameters:
quickXorHash
- the quickXorHash value to set.- Returns:
- the MicrosoftGraphHashes object itself.
-
sha1Hash
public String sha1Hash()
Get the sha1Hash property: SHA1 hash for the contents of the file (if available). Read-only.- Returns:
- the sha1Hash value.
-
withSha1Hash
public MicrosoftGraphHashes withSha1Hash(String sha1Hash)
Set the sha1Hash property: SHA1 hash for the contents of the file (if available). Read-only.- Parameters:
sha1Hash
- the sha1Hash value to set.- Returns:
- the MicrosoftGraphHashes object itself.
-
sha256Hash
public String sha256Hash()
Get the sha256Hash property: SHA256 hash for the contents of the file (if available). Read-only.- Returns:
- the sha256Hash value.
-
withSha256Hash
public MicrosoftGraphHashes withSha256Hash(String sha256Hash)
Set the sha256Hash property: SHA256 hash for the contents of the file (if available). Read-only.- Parameters:
sha256Hash
- the sha256Hash value to set.- Returns:
- the MicrosoftGraphHashes object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: hashes.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphHashes withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: hashes.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphHashes object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-