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 Details

    • SourceVault

      public SourceVault()
      Creates an instance of SourceVault class.
  • Method Details

    • 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.