public static class StreamingEndpoint.Creator extends EntityOperationSingleResultBase<StreamingEndpointInfo> implements EntityCreateOperation<StreamingEndpointInfo>
EntityOperationBase.EntityIdUriBuilder, EntityOperationBase.EntityUriBuilder| Constructor and Description |
|---|
Creator()
Instantiates a new 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.
|
Class |
getResponseClass()
Get the Java class object for the type that the response should be
unmarshalled into.
|
Object |
processResponse(Object rawResponse)
Process response process.
|
StreamingEndpoint.Creator |
setAccessControl(com.microsoft.windowsazure.services.media.implementation.content.StreamingEndpointAccessControlType streamingEndpointAccessControl)
Set the access control policies of the streaming endpoint to be
created.
|
StreamingEndpoint.Creator |
setCacheControl(com.microsoft.windowsazure.services.media.implementation.content.StreamingEndpointCacheControlType streamingEndpointCacheControl)
Set the streaming endpoint cache control of the streaming endpoint to
be created.
|
StreamingEndpoint.Creator |
setCdnEnabled(boolean cdnEnabled)
Set if CDN is enabled on the streaming endpoint to be created.
|
StreamingEndpoint.Creator |
setCrossSiteAccessPolicies(com.microsoft.windowsazure.services.media.implementation.content.CrossSiteAccessPoliciesType crossSiteAccessPolicies)
Set the cross site access policies of the streaming endpoint to be
created.
|
StreamingEndpoint.Creator |
setCustomHostNames(List<String> customHostNames)
Set the list of custom host names of the streaming endpoint to be
created.
|
StreamingEndpoint.Creator |
setDescription(String description)
Set the description of the streaming endpoint to be created.
|
StreamingEndpoint.Creator |
setName(String name)
Set the name of the streaming endpoint to be created.
|
StreamingEndpoint.Creator |
setScaleUnits(int scaleUnits)
Set the scale units of the streaming endpoint to be created.
|
getAcceptType, getContentType, getProxyData, getUri, setProxyDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAcceptType, getContentType, getUri, setProxyDatapublic Class getResponseClass()
EntityOperationSingleResultgetResponseClass in interface EntityOperationSingleResult<StreamingEndpointInfo>getResponseClass in class EntityOperationSingleResultBase<StreamingEndpointInfo>public Object processResponse(Object rawResponse) throws ServiceException
EntityOperationprocessResponse in interface EntityOperationprocessResponse in class EntityOperationSingleResultBase<StreamingEndpointInfo>rawResponse - the raw responseServiceException - the service exceptionpublic Object getRequestContents()
EntityCreateOperationgetRequestContents in interface EntityCreateOperation<StreamingEndpointInfo>public StreamingEndpoint.Creator setName(String name)
name - The namepublic StreamingEndpoint.Creator setDescription(String description)
description - The descriptionpublic StreamingEndpoint.Creator setScaleUnits(int scaleUnits)
scaleUnits - the scale unitspublic StreamingEndpoint.Creator setCdnEnabled(boolean cdnEnabled)
cdnEnabled - true if CDN is enabledpublic StreamingEndpoint.Creator setAccessControl(com.microsoft.windowsazure.services.media.implementation.content.StreamingEndpointAccessControlType streamingEndpointAccessControl)
streamingEndpointAccessControl - the access control policiespublic StreamingEndpoint.Creator setCustomHostNames(List<String> customHostNames)
customHostNames - the list of custom host namespublic StreamingEndpoint.Creator setCacheControl(com.microsoft.windowsazure.services.media.implementation.content.StreamingEndpointCacheControlType streamingEndpointCacheControl)
streamingEndpointCacheControl - the streaming endpoint cache controlpublic StreamingEndpoint.Creator 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.
*/