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 Summary
ConstructorsConstructorDescriptionCreates an instance of GetBlobReferenceForConsumptionDto class. -
Method Summary
Modifier and TypeMethodDescriptionblobUri()Get the blobUri property: Blob uri, example: https://blob.windows.core.net/Container/Path.Get the credential property: Credential info to access storage account.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of GetBlobReferenceForConsumptionDto from the JsonReader.Get the storageAccountArmId property: The ARM id of the storage account.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withBlobUri(String blobUri) Set the blobUri property: Blob uri, example: https://blob.windows.core.net/Container/Path.withCredential(DataReferenceCredential credential) Set the credential property: Credential info to access storage account.withStorageAccountArmId(String storageAccountArmId) Set the storageAccountArmId property: The ARM id of the storage account.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
GetBlobReferenceForConsumptionDto
public GetBlobReferenceForConsumptionDto()Creates an instance of GetBlobReferenceForConsumptionDto class.
-
-
Method Details
-
blobUri
Get the blobUri property: Blob uri, example: https://blob.windows.core.net/Container/Path.- Returns:
- the blobUri value.
-
withBlobUri
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
Get the storageAccountArmId property: The ARM id of the storage account.- Returns:
- the storageAccountArmId value.
-
withStorageAccountArmId
Set the storageAccountArmId property: The ARM id of the storage account.- Parameters:
storageAccountArmId- the storageAccountArmId value to set.- Returns:
- the GetBlobReferenceForConsumptionDto object itself.
-
credential
Get the credential property: Credential info to access storage account.- Returns:
- the credential value.
-
withCredential
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
- Specified by:
toJsonin interfacecom.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.
-