public final class KeyReleasePolicy extends Object
Constructor and Description |
---|
KeyReleasePolicy(byte[] data)
Creates an instance of
KeyReleasePolicy . |
Modifier and Type | Method and Description |
---|---|
String |
getContentType()
Get the content type and version of key release policy.
|
byte[] |
getData()
Get a blob encoding the policy rules under which the key can be released.
|
KeyReleasePolicy |
setContentType(String contentType)
Set the content type and version of key release policy.
|
public KeyReleasePolicy(byte[] data)
KeyReleasePolicy
.data
- A blob encoding the policy rules under which the key can be released.public byte[] getData()
public String getContentType()
public KeyReleasePolicy setContentType(String contentType)
The service default is "application/json; charset=utf-8".
contentType
- The content type and version of key release policy to set.KeyReleasePolicy
object.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.