Class SourceModifiedAccessConditions
java.lang.Object
com.azure.storage.file.share.models.SourceModifiedAccessConditions
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SourceModifiedAccessConditions>
public final class SourceModifiedAccessConditions
extends Object
implements com.azure.json.JsonSerializable<SourceModifiedAccessConditions>
Parameter group.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SourceModifiedAccessConditions class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SourceModifiedAccessConditions from the JsonReader.byte[]Get the sourceIfMatchCrc64 property: Specify the crc64 value to operate only on range with a matching crc64 checksum.byte[]Get the sourceIfNoneMatchCrc64 property: Specify the crc64 value to operate only on range without a matching crc64 checksum.setSourceIfMatchCrc64(byte[] sourceIfMatchCrc64) Set the sourceIfMatchCrc64 property: Specify the crc64 value to operate only on range with a matching crc64 checksum.setSourceIfNoneMatchCrc64(byte[] sourceIfNoneMatchCrc64) Set the sourceIfNoneMatchCrc64 property: Specify the crc64 value to operate only on range without a matching crc64 checksum.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter)
-
Constructor Details
-
SourceModifiedAccessConditions
public SourceModifiedAccessConditions()Creates an instance of SourceModifiedAccessConditions class.
-
-
Method Details
-
getSourceIfMatchCrc64
public byte[] getSourceIfMatchCrc64()Get the sourceIfMatchCrc64 property: Specify the crc64 value to operate only on range with a matching crc64 checksum.- Returns:
- the sourceIfMatchCrc64 value.
-
setSourceIfMatchCrc64
Set the sourceIfMatchCrc64 property: Specify the crc64 value to operate only on range with a matching crc64 checksum.- Parameters:
sourceIfMatchCrc64- the sourceIfMatchCrc64 value to set.- Returns:
- the SourceModifiedAccessConditions object itself.
-
getSourceIfNoneMatchCrc64
public byte[] getSourceIfNoneMatchCrc64()Get the sourceIfNoneMatchCrc64 property: Specify the crc64 value to operate only on range without a matching crc64 checksum.- Returns:
- the sourceIfNoneMatchCrc64 value.
-
setSourceIfNoneMatchCrc64
Set the sourceIfNoneMatchCrc64 property: Specify the crc64 value to operate only on range without a matching crc64 checksum.- Parameters:
sourceIfNoneMatchCrc64- the sourceIfNoneMatchCrc64 value to set.- Returns:
- the SourceModifiedAccessConditions object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SourceModifiedAccessConditions>- Throws:
IOException
-
fromJson
public static SourceModifiedAccessConditions fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of SourceModifiedAccessConditions from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SourceModifiedAccessConditions if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the SourceModifiedAccessConditions.
-