Class KeyVaultReference

java.lang.Object
com.azure.resourcemanager.batch.models.KeyVaultReference

public final class KeyVaultReference extends Object
Identifies the Azure key vault associated with a Batch account.
  • Constructor Details

    • KeyVaultReference

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

    • id

      public String id()
      Get the id property: The resource ID of the Azure key vault associated with the Batch account.
      Returns:
      the id value.
    • withId

      public KeyVaultReference withId(String id)
      Set the id property: The resource ID of the Azure key vault associated with the Batch account.
      Parameters:
      id - the id value to set.
      Returns:
      the KeyVaultReference object itself.
    • url

      public String url()
      Get the url property: The URL of the Azure key vault associated with the Batch account.
      Returns:
      the url value.
    • withUrl

      public KeyVaultReference withUrl(String url)
      Set the url property: The URL of the Azure key vault associated with the Batch account.
      Parameters:
      url - the url value to set.
      Returns:
      the KeyVaultReference object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.