VaultAccessPolicyParametersInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. keyvault. fluent. models. VaultAccessPolicyParametersInner
- com.
- com.
public final class VaultAccessPolicyParametersInner
extends ProxyResource
Parameters for updating the access policy in a vault.
Constructor Summary
Constructor | Description |
---|---|
VaultAccessPolicyParametersInner() |
Creates an instance of Vault |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Vault |
fromJson(JsonReader jsonReader)
Reads an instance of Vault |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
location()
Get the location property: The resource type of the access policy. |
String |
name()
Get the name property: The name of the resource. |
Vault |
properties()
Get the properties property: Properties of the access policy. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Vault |
withProperties(VaultAccessPolicyProperties properties)
Set the properties property: Properties of the access policy. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
VaultAccessPolicyParametersInner
public VaultAccessPolicyParametersInner()
Creates an instance of VaultAccessPolicyParametersInner class.
Method Details
fromJson
public static VaultAccessPolicyParametersInner fromJson(JsonReader jsonReader)
Reads an instance of VaultAccessPolicyParametersInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
VaultAccessPolicyParametersInner.id()Returns:
location
public String location()
Get the location property: The resource type of the access policy.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
VaultAccessPolicyParametersInner.name()Returns:
properties
public VaultAccessPolicyProperties properties()
Get the properties property: Properties of the access policy.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VaultAccessPolicyParametersInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
VaultAccessPolicyParametersInner.type()Returns:
validate
public void validate()
Validates the instance.
withProperties
public VaultAccessPolicyParametersInner withProperties(VaultAccessPolicyProperties properties)
Set the properties property: Properties of the access policy.
Parameters:
Returns:
Applies to
Azure SDK for Java