public final class AssetDeliveryPolicy extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AssetDeliveryPolicy.Creator |
static class |
AssetDeliveryPolicy.Updater
The Class Updater.
|
| Modifier and Type | Method and Description |
|---|---|
static AssetDeliveryPolicy.Creator |
create()
Creates an operation to create a new AssetDeliveryPolicy
|
static EntityDeleteOperation |
delete(String assetDeliveryPolicyId)
Create an operation to delete the given asset delivery policy
|
static EntityGetOperation<AssetDeliveryPolicyInfo> |
get(String assetDeliveryPolicyId)
Create an operation that will retrieve the given asset delivery policy
|
static DefaultListOperation<AssetDeliveryPolicyInfo> |
list()
Create an operation that will retrieve all asset delivery policies
|
static DefaultListOperation<AssetDeliveryPolicyInfo> |
list(LinkInfo<AssetDeliveryPolicyInfo> link)
Create an operation that will list all the asset delivery policies at the
given link.
|
static AssetDeliveryPolicy.Updater |
update(String assetDeliveryPolicyId)
Create an operation that will update the given asset delivery policy.
|
public static AssetDeliveryPolicy.Creator create()
name - name of the asset delivery policypublic static EntityGetOperation<AssetDeliveryPolicyInfo> get(String assetDeliveryPolicyId)
assetDeliveryPolicyId - id of asset delivery policy to retrievepublic static DefaultListOperation<AssetDeliveryPolicyInfo> list()
public static DefaultListOperation<AssetDeliveryPolicyInfo> list(LinkInfo<AssetDeliveryPolicyInfo> link)
link - Link to request all the asset delivery policies.public static EntityDeleteOperation delete(String assetDeliveryPolicyId)
contentKeyAuthorizationPolicyId - id of content key authorization policy to deletepublic static AssetDeliveryPolicy.Updater update(String assetDeliveryPolicyId)
assetDeliveryPolicyId - id of the asset delivery policy 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.
*/