AzureBlob Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. models. AzureBlob
- com.
Implements
public final class AzureBlob
implements JsonSerializable<AzureBlob>
Azure Blob Details.
Constructor Summary
| Constructor | Description |
|---|---|
| AzureBlob() |
Creates an instance of Azure |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
accountKey()
Get the account |
|
Auth |
authType()
Get the auth |
| String |
blobContainerName()
Get the blob |
|
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
|
Managed |
identity()
Get the identity property: Identity details for authentication using a Managed Identity. |
| String |
storageAccountResourceId()
Get the storage |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Azure |
withAccountKey(String accountKey)
Set the account |
|
Azure |
withAuthType(AuthType authType)
Set the auth |
|
Azure |
withBlobContainerName(String blobContainerName)
Set the blob |
|
Azure |
withIdentity(ManagedServiceIdentity identity)
Set the identity property: Identity details for authentication using a Managed Identity. |
|
Azure |
withStorageAccountResourceId(String storageAccountResourceId)
Set the storage |
Methods inherited from java.lang.Object
Constructor Details
AzureBlob
public AzureBlob()
Creates an instance of AzureBlob class.
Method Details
accountKey
public String accountKey()
Get the accountKey property: Storage Account Key.
Returns:
authType
public AuthType authType()
Get the authType property: Authentication type used for accessing Azure Blob Storage.
Returns:
blobContainerName
public String blobContainerName()
Get the blobContainerName property: Blob container name where backups are stored.
Returns:
fromJson
public static AzureBlob fromJson(JsonReader jsonReader)
Reads an instance of AzureBlob from the JsonReader.
Parameters:
Returns:
Throws:
identity
public ManagedServiceIdentity identity()
Get the identity property: Identity details for authentication using a Managed Identity.
Returns:
storageAccountResourceId
public String storageAccountResourceId()
Get the storageAccountResourceId property: Resource Id of the storage account where backups are stored.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAccountKey
public AzureBlob withAccountKey(String accountKey)
Set the accountKey property: Storage Account Key.
Parameters:
Returns:
withAuthType
public AzureBlob withAuthType(AuthType authType)
Set the authType property: Authentication type used for accessing Azure Blob Storage.
Parameters:
Returns:
withBlobContainerName
public AzureBlob withBlobContainerName(String blobContainerName)
Set the blobContainerName property: Blob container name where backups are stored.
Parameters:
Returns:
withIdentity
public AzureBlob withIdentity(ManagedServiceIdentity identity)
Set the identity property: Identity details for authentication using a Managed Identity.
Parameters:
Returns:
withStorageAccountResourceId
public AzureBlob withStorageAccountResourceId(String storageAccountResourceId)
Set the storageAccountResourceId property: Resource Id of the storage account where backups are stored.
Parameters:
Returns: