Class GetBlobReferenceForConsumptionDto

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

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

    • GetBlobReferenceForConsumptionDto

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

    • blobUri

      public String blobUri()
      Get the blobUri property: Blob uri, example: https://blob.windows.core.net/Container/Path.
      Returns:
      the blobUri value.
    • withBlobUri

      public GetBlobReferenceForConsumptionDto withBlobUri(String blobUri)
      Set the blobUri property: Blob uri, example: https://blob.windows.core.net/Container/Path.
      Parameters:
      blobUri - the blobUri value to set.
      Returns:
      the GetBlobReferenceForConsumptionDto object itself.
    • storageAccountArmId

      public String storageAccountArmId()
      Get the storageAccountArmId property: The ARM id of the storage account.
      Returns:
      the storageAccountArmId value.
    • withStorageAccountArmId

      public GetBlobReferenceForConsumptionDto withStorageAccountArmId(String storageAccountArmId)
      Set the storageAccountArmId property: The ARM id of the storage account.
      Parameters:
      storageAccountArmId - the storageAccountArmId value to set.
      Returns:
      the GetBlobReferenceForConsumptionDto object itself.
    • credential

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

      public GetBlobReferenceForConsumptionDto withCredential(DataReferenceCredential credential)
      Set the credential property: Credential info to access storage account.
      Parameters:
      credential - the credential value to set.
      Returns:
      the GetBlobReferenceForConsumptionDto 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<GetBlobReferenceForConsumptionDto>
      Throws:
      IOException
    • fromJson

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