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 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

      public SourceModifiedAccessConditions setSourceIfMatchCrc64(byte[] sourceIfMatchCrc64)
      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

      public SourceModifiedAccessConditions setSourceIfNoneMatchCrc64(byte[] sourceIfNoneMatchCrc64)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.