Class BlobReferenceForConsumptionDto

java.lang.Object
com.azure.resourcemanager.machinelearning.models.BlobReferenceForConsumptionDto
All Implemented Interfaces:
com.azure.json.JsonSerializable<BlobReferenceForConsumptionDto>

public final class BlobReferenceForConsumptionDto extends Object implements com.azure.json.JsonSerializable<BlobReferenceForConsumptionDto>
The BlobReferenceForConsumptionDto model.
  • Constructor Details

    • BlobReferenceForConsumptionDto

      public BlobReferenceForConsumptionDto()
      Creates an instance of BlobReferenceForConsumptionDto class.
  • Method Details

    • blobUri

      public String blobUri()
      Get the blobUri property: Blob URI path for client to upload data. Example: https://blob.windows.core.net/Container/Path.
      Returns:
      the blobUri value.
    • withBlobUri

      public BlobReferenceForConsumptionDto withBlobUri(String blobUri)
      Set the blobUri property: Blob URI path for client to upload data. Example: https://blob.windows.core.net/Container/Path.
      Parameters:
      blobUri - the blobUri value to set.
      Returns:
      the BlobReferenceForConsumptionDto object itself.
    • storageAccountArmId

      public String storageAccountArmId()
      Get the storageAccountArmId property: Arm ID of the storage account to use.
      Returns:
      the storageAccountArmId value.
    • withStorageAccountArmId

      public BlobReferenceForConsumptionDto withStorageAccountArmId(String storageAccountArmId)
      Set the storageAccountArmId property: Arm ID of the storage account to use.
      Parameters:
      storageAccountArmId - the storageAccountArmId value to set.
      Returns:
      the BlobReferenceForConsumptionDto object itself.
    • credential

      public PendingUploadCredentialDto credential()
      Get the credential property: Credential info to access storage account.
      Returns:
      the credential value.
    • withCredential

      public BlobReferenceForConsumptionDto withCredential(PendingUploadCredentialDto credential)
      Set the credential property: Credential info to access storage account.
      Parameters:
      credential - the credential value to set.
      Returns:
      the BlobReferenceForConsumptionDto object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<BlobReferenceForConsumptionDto>
      Throws:
      IOException
    • fromJson

      public static BlobReferenceForConsumptionDto fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of BlobReferenceForConsumptionDto from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of BlobReferenceForConsumptionDto 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 BlobReferenceForConsumptionDto.