public static class AssetDeliveryPolicy.Creator extends EntityOperationSingleResultBase<AssetDeliveryPolicyInfo> implements EntityCreateOperation<AssetDeliveryPolicyInfo>
EntityOperationBase.EntityIdUriBuilder, EntityOperationBase.EntityUriBuilder| Constructor and Description |
|---|
Creator() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getRequestContents()
Get the object to be sent to the server containing the request data for
entity creation.
|
AssetDeliveryPolicy.Creator |
setAssetDeliveryConfiguration(Map<AssetDeliveryPolicyConfigurationKey,String> assetDeliveryPolicyConfiguration)
Set the configuration of the Asset Delivery Policy to be created.
|
AssetDeliveryPolicy.Creator |
setAssetDeliveryPolicyType(AssetDeliveryPolicyType assetDeliveryPolicyType)
Set the type of the Asset Delivery Policy to be created.
|
AssetDeliveryPolicy.Creator |
setAssetDeliveryProtocol(EnumSet<AssetDeliveryProtocol> assetDeliveryProtocol)
Set the protocol of the Asset Delivery Policy to be created.
|
AssetDeliveryPolicy.Creator |
setName(String name)
Set the name of the Asset Delivery Policy to be created.
|
getResponseClass, processResponsegetAcceptType, getContentType, getProxyData, getUri, setProxyDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetResponseClassgetAcceptType, getContentType, getUri, processResponse, setProxyDatapublic Object getRequestContents()
EntityCreateOperationgetRequestContents in interface EntityCreateOperation<AssetDeliveryPolicyInfo>public AssetDeliveryPolicy.Creator setName(String name)
name - The namepublic AssetDeliveryPolicy.Creator setAssetDeliveryProtocol(EnumSet<AssetDeliveryProtocol> assetDeliveryProtocol)
assetDeliveryProtocol - The protocolpublic AssetDeliveryPolicy.Creator setAssetDeliveryPolicyType(AssetDeliveryPolicyType assetDeliveryPolicyType)
assetDeliveryPolicyType - The typepublic AssetDeliveryPolicy.Creator setAssetDeliveryConfiguration(Map<AssetDeliveryPolicyConfigurationKey,String> assetDeliveryPolicyConfiguration)
assetDeliveryPolicyConfiguration - The configuration/**
* 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.
*/