Class PatchVault
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.recoveryservices.models.PatchTrackedResource
com.azure.resourcemanager.recoveryservices.models.PatchVault
Patch Resource information, as returned by the resource provider.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionidentity()
Get the identity property: Identity for the resource.Get the properties property: Properties of the vault.sku()
Get the sku property: Identifies the unique system identifier for each Azure resource.void
validate()
Validates the instance.Set the etag property: Optional ETag.withIdentity
(IdentityData identity) Set the identity property: Identity for the resource.withLocation
(String location) Set the location property: Resource location.withProperties
(VaultProperties properties) Set the properties property: Properties of the vault.Set the sku property: Identifies the unique system identifier for each Azure resource.Set the tags property: Resource tags.Methods inherited from class com.azure.resourcemanager.recoveryservices.models.PatchTrackedResource
etag, location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
PatchVault
public PatchVault()
-
-
Method Details
-
properties
Get the properties property: Properties of the vault.- Returns:
- the properties value.
-
withProperties
Set the properties property: Properties of the vault.- Parameters:
properties
- the properties value to set.- Returns:
- the PatchVault object itself.
-
sku
Get the sku property: Identifies the unique system identifier for each Azure resource.- Returns:
- the sku value.
-
withSku
Set the sku property: Identifies the unique system identifier for each Azure resource.- Parameters:
sku
- the sku value to set.- Returns:
- the PatchVault object itself.
-
identity
Get the identity property: Identity for the resource.- Returns:
- the identity value.
-
withIdentity
Set the identity property: Identity for the resource.- Parameters:
identity
- the identity value to set.- Returns:
- the PatchVault object itself.
-
withLocation
Set the location property: Resource location.- Overrides:
withLocation
in classPatchTrackedResource
- Parameters:
location
- the location value to set.- Returns:
- the PatchTrackedResource object itself.
-
withTags
Set the tags property: Resource tags.- Overrides:
withTags
in classPatchTrackedResource
- Parameters:
tags
- the tags value to set.- Returns:
- the PatchTrackedResource object itself.
-
withEtag
Set the etag property: Optional ETag.- Overrides:
withEtag
in classPatchTrackedResource
- Parameters:
etag
- the etag value to set.- Returns:
- the PatchTrackedResource object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classPatchTrackedResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-