Class KeyVaultReference
java.lang.Object
com.azure.resourcemanager.batch.models.KeyVaultReference
Identifies the Azure key vault associated with a Batch account.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionid()
Get the id property: The resource ID of the Azure key vault associated with the Batch account.url()
Get the url property: The URL of the Azure key vault associated with the Batch account.void
validate()
Validates the instance.Set the id property: The resource ID of the Azure key vault associated with the Batch account.Set the url property: The URL of the Azure key vault associated with the Batch account.
-
Constructor Details
-
KeyVaultReference
public KeyVaultReference()Creates an instance of KeyVaultReference class.
-
-
Method Details
-
id
Get the id property: The resource ID of the Azure key vault associated with the Batch account.- Returns:
- the id value.
-
withId
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
Get the url property: The URL of the Azure key vault associated with the Batch account.- Returns:
- the url value.
-
withUrl
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.
-