Class BackupVaultResourceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.dataprotection.models.DppTrackedResource
-
- com.azure.resourcemanager.dataprotection.fluent.models.BackupVaultResourceInner
-
public final class BackupVaultResourceInner extends DppTrackedResource
BackupVault Resource Backup Vault Resource.
-
-
Constructor Summary
Constructors Constructor Description BackupVaultResourceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupVault
properties()
Get the properties property: BackupVault BackupVaultResource properties.void
validate()
Validates the instance.BackupVaultResourceInner
withEtag(String etag)
Set the etag property: Optional ETag.BackupVaultResourceInner
withIdentity(DppIdentityDetails identity)
Set the identity property: DppIdentityDetails Input Managed Identity Details.BackupVaultResourceInner
withLocation(String location)
BackupVaultResourceInner
withProperties(BackupVault properties)
Set the properties property: BackupVault BackupVaultResource properties.BackupVaultResourceInner
withTags(Map<String,String> tags)
-
Methods inherited from class com.azure.resourcemanager.dataprotection.models.DppTrackedResource
etag, identity, systemData
-
-
-
-
Method Detail
-
properties
public BackupVault properties()
Get the properties property: BackupVault BackupVaultResource properties.- Returns:
- the properties value.
-
withProperties
public BackupVaultResourceInner withProperties(BackupVault properties)
Set the properties property: BackupVault BackupVaultResource properties.- Parameters:
properties
- the properties value to set.- Returns:
- the BackupVaultResourceInner object itself.
-
withEtag
public BackupVaultResourceInner withEtag(String etag)
Set the etag property: Optional ETag.- Overrides:
withEtag
in classDppTrackedResource
- Parameters:
etag
- the etag value to set.- Returns:
- the DppTrackedResource object itself.
-
withIdentity
public BackupVaultResourceInner withIdentity(DppIdentityDetails identity)
Set the identity property: DppIdentityDetails Input Managed Identity Details.- Overrides:
withIdentity
in classDppTrackedResource
- Parameters:
identity
- the identity value to set.- Returns:
- the DppTrackedResource object itself.
-
withLocation
public BackupVaultResourceInner withLocation(String location)
- Overrides:
withLocation
in classDppTrackedResource
-
withTags
public BackupVaultResourceInner withTags(Map<String,String> tags)
- Overrides:
withTags
in classDppTrackedResource
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classDppTrackedResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-