public static class StreamingEndpoint.Updater extends EntityOperationBase implements EntityUpdateOperation
EntityOperationBase.EntityIdUriBuilder, EntityOperationBase.EntityUriBuilder| Modifier | Constructor and Description |
|---|---|
protected |
Updater(StreamingEndpointInfo streamingEndpointInfo) |
protected |
Updater(String streamingEndpointId)
Instantiates a new updater.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getRequestContents()
Get the contents of the merge request that will be sent to the server.
|
StreamingEndpoint.Updater |
setAccessControl(com.microsoft.windowsazure.services.media.implementation.content.StreamingEndpointAccessControlType streamingEndpointAccessControl)
Set the new access control policies of the streaming endpoint to be
updated.
|
StreamingEndpoint.Updater |
setCacheControl(com.microsoft.windowsazure.services.media.implementation.content.StreamingEndpointCacheControlType streamingEndpointCacheControl)
Set the new streaming endpoint cache control of the streaming
endpoint to be updated.
|
StreamingEndpoint.Updater |
setCdnEnabled(boolean cdnEnabled)
Set the new value for CDN enabled on the streaming endpoint to be
updated.
|
StreamingEndpoint.Updater |
setCrossSiteAccessPolicies(com.microsoft.windowsazure.services.media.implementation.content.CrossSiteAccessPoliciesType crossSiteAccessPolicies)
Set the new cross site access policies of the streaming endpoint to
be updated.
|
StreamingEndpoint.Updater |
setCustomHostNames(List<String> customHostNames)
Set the new list of custom host names of the streaming endpoint to be
updated.
|
StreamingEndpoint.Updater |
setDescription(String description)
Set the new description of the streaming endpoint to be updated.
|
void |
setProxyData(EntityProxyData proxyData)
Supplies the current proxy information to the action.
|
getAcceptType, getContentType, getProxyData, getUri, processResponseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAcceptType, getContentType, getUri, processResponseprotected Updater(String streamingEndpointId)
assetId - the asset idprotected Updater(StreamingEndpointInfo streamingEndpointInfo)
public void setProxyData(EntityProxyData proxyData)
EntityOperationsetProxyData in interface EntityOperationsetProxyData in class EntityOperationBasepublic Object getRequestContents()
EntityUpdateOperationgetRequestContents in interface EntityUpdateOperationpublic StreamingEndpoint.Updater setDescription(String description)
description - The descriptionpublic StreamingEndpoint.Updater setCdnEnabled(boolean cdnEnabled)
cdnEnabled - true if CDN is enabledpublic StreamingEndpoint.Updater setAccessControl(com.microsoft.windowsazure.services.media.implementation.content.StreamingEndpointAccessControlType streamingEndpointAccessControl)
streamingEndpointAccessControl - the access control policiespublic StreamingEndpoint.Updater setCustomHostNames(List<String> customHostNames)
customHostNames - the list of custom host namespublic StreamingEndpoint.Updater setCacheControl(com.microsoft.windowsazure.services.media.implementation.content.StreamingEndpointCacheControlType streamingEndpointCacheControl)
streamingEndpointCacheControl - the streaming endpoint cache controlpublic StreamingEndpoint.Updater setCrossSiteAccessPolicies(com.microsoft.windowsazure.services.media.implementation.content.CrossSiteAccessPoliciesType crossSiteAccessPolicies)
crossSiteAccessPolicies - the cross site access policies/**
* 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.
*/