public final class ContentKeyAuthorizationPolicyOption extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ContentKeyAuthorizationPolicyOption.Updater
The Class Updater.
|
| Modifier and Type | Method and Description |
|---|---|
static EntityCreateOperation<ContentKeyAuthorizationPolicyOptionInfo> |
create(String name,
int keyDeliveryType,
String keyDeliveryConfiguration,
List<ContentKeyAuthorizationPolicyRestriction> restrictions)
Creates an operation to create a new content key authorization options
|
static EntityDeleteOperation |
delete(String contentKeyAuthorizationPolicyOptionId)
Create an operation to delete the given content key authorization policy
option
|
static EntityGetOperation<ContentKeyAuthorizationPolicyOptionInfo> |
get(String contentKeyAuthorizationPolicyOptionId)
Create an operation that will retrieve the given content key
authorization policy option
|
static DefaultListOperation<ContentKeyAuthorizationPolicyOptionInfo> |
list()
Create an operation that will retrieve all content key authorization
policy options
|
static DefaultListOperation<ContentKeyAuthorizationPolicyOptionInfo> |
list(LinkInfo<ContentKeyAuthorizationPolicyOptionInfo> link)
Create an operation that will list all the content keys authorization
policy options at the given link.
|
static ContentKeyAuthorizationPolicyOption.Updater |
update(String contentKeyAuthorizationPolicyOptionId)
Create an operation that will update the given content key authorization policy option.
|
public static EntityCreateOperation<ContentKeyAuthorizationPolicyOptionInfo> create(String name, int keyDeliveryType, String keyDeliveryConfiguration, List<ContentKeyAuthorizationPolicyRestriction> restrictions)
name - Friendly name of the authorization policykeyDeliveryType - Delivery method of the content key to the clientkeyDeliveryConfiguration - Xml data, specific to the key delivery type that defines how
the key is delivered to the clientrestrictions - Requirements defined in each restriction must be met in order
to deliver the key using the key delivery datapublic static EntityGetOperation<ContentKeyAuthorizationPolicyOptionInfo> get(String contentKeyAuthorizationPolicyOptionId)
contentKeyAuthorizationPolicyOptionId - id of content key authorization policy option to retrievepublic static DefaultListOperation<ContentKeyAuthorizationPolicyOptionInfo> list(LinkInfo<ContentKeyAuthorizationPolicyOptionInfo> link)
link - Link to request content keys authorization policy options
from.public static DefaultListOperation<ContentKeyAuthorizationPolicyOptionInfo> list()
public static EntityDeleteOperation delete(String contentKeyAuthorizationPolicyOptionId)
contentKeyAuthorizationPolicyOptionId - id of content key authorization policy option to deletepublic static ContentKeyAuthorizationPolicyOption.Updater update(String contentKeyAuthorizationPolicyOptionId)
contentKeyAuthorizationPolicyOptionId - id of the acontent key authorization policy option to update/**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/