ManagedHsmKeyReleasePolicy Class
- java.
lang. Object - com.
azure. resourcemanager. keyvault. models. ManagedHsmKeyReleasePolicy
- com.
Implements
public final class ManagedHsmKeyReleasePolicy
implements JsonSerializable<ManagedHsmKeyReleasePolicy>
The ManagedHsmKeyReleasePolicy model.
Constructor Summary
Constructor | Description |
---|---|
ManagedHsmKeyReleasePolicy() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
contentType()
Get the content |
byte[] |
data()
Get the data property: Blob encoding the policy rules under which the key can be released. |
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Managed |
withContentType(String contentType)
Set the content |
Managed |
withData(byte[] data)
Set the data property: Blob encoding the policy rules under which the key can be released. |
Methods inherited from java.lang.Object
Constructor Details
ManagedHsmKeyReleasePolicy
public ManagedHsmKeyReleasePolicy()
Creates an instance of ManagedHsmKeyReleasePolicy class.
Method Details
contentType
public String contentType()
Get the contentType property: Content type and version of key release policy.
Returns:
data
public byte[] data()
Get the data property: Blob encoding the policy rules under which the key can be released.
Returns:
fromJson
public static ManagedHsmKeyReleasePolicy fromJson(JsonReader jsonReader)
Reads an instance of ManagedHsmKeyReleasePolicy from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withContentType
public ManagedHsmKeyReleasePolicy withContentType(String contentType)
Set the contentType property: Content type and version of key release policy.
Parameters:
Returns:
withData
public ManagedHsmKeyReleasePolicy withData(byte[] data)
Set the data property: Blob encoding the policy rules under which the key can be released.
Parameters:
Returns:
Applies to
Azure SDK for Java