SourceVault Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. SourceVault
- com.
Implements
public final class SourceVault
implements JsonSerializable<SourceVault>
The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}.
Constructor Summary
Constructor | Description |
---|---|
SourceVault() |
Creates an instance of Source |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Source |
fromJson(JsonReader jsonReader)
Reads an instance of Source |
String |
id()
Get the id property: Resource Id. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Source |
withId(String id)
Set the id property: Resource Id. |
Methods inherited from java.lang.Object
Constructor Details
SourceVault
public SourceVault()
Creates an instance of SourceVault class.
Method Details
fromJson
public static SourceVault fromJson(JsonReader jsonReader)
Reads an instance of SourceVault from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource Id.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public SourceVault withId(String id)
Set the id property: Resource Id.
Parameters:
Returns:
Applies to
Azure SDK for Java