DefaultKey Class
- java.
lang. Object - com.
azure. resourcemanager. mediaservices. models. DefaultKey
- com.
public final class DefaultKey
Class to specify properties of default content key for each encryption scheme.
Constructor Summary
Constructor | Description |
---|---|
DefaultKey() |
Creates an instance of Default |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
label()
Get the label property: Label can be used to specify Content Key when creating a Streaming Locator. |
String |
policyName()
Get the policy |
void |
validate()
Validates the instance. |
Default |
withLabel(String label)
Set the label property: Label can be used to specify Content Key when creating a Streaming Locator. |
Default |
withPolicyName(String policyName)
Set the policy |
Methods inherited from java.lang.Object
Constructor Details
DefaultKey
public DefaultKey()
Creates an instance of DefaultKey class.
Method Details
label
public String label()
Get the label property: Label can be used to specify Content Key when creating a Streaming Locator.
Returns:
policyName
public String policyName()
Get the policyName property: Policy used by Default Key.
Returns:
validate
public void validate()
Validates the instance.
withLabel
public DefaultKey withLabel(String label)
Set the label property: Label can be used to specify Content Key when creating a Streaming Locator.
Parameters:
Returns:
withPolicyName
public DefaultKey withPolicyName(String policyName)
Set the policyName property: Policy used by Default Key.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for