Class SourceVault
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.SourceVault
-
public final class SourceVault extends Object
The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}.
-
-
Constructor Summary
Constructors Constructor Description SourceVault()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringid()Get the id property: Resource Id.voidvalidate()Validates the instance.SourceVaultwithId(String id)Set the id property: Resource Id.
-
-
-
Method Detail
-
id
public String id()
Get the id property: Resource Id.- Returns:
- the id value.
-
withId
public SourceVault withId(String id)
Set the id property: Resource Id.- Parameters:
id- the id value to set.- Returns:
- the SourceVault object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-