public static class Locator.Creator extends EntityOperationSingleResultBase<LocatorInfo> implements EntityCreateOperation<LocatorInfo>
EntityOperationBase.EntityIdUriBuilder, EntityOperationBase.EntityUriBuilder| Modifier | Constructor and Description |
|---|---|
protected |
Creator(String accessPolicyId,
String assetId,
LocatorType locatorType)
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.
|
Locator.Creator |
setBaseUri(String baseUri)
Sets the base uri.
|
Locator.Creator |
setContentAccessComponent(String contentAccessComponent)
Sets the content access component.
|
EntityCreateOperation<LocatorInfo> |
setId(String id)
Sets the id.
|
Locator.Creator |
setPath(String path)
Sets the path.
|
Locator.Creator |
setStartDateTime(Date startDateTime)
Set the date and time for when the locator starts to be available.
|
getResponseClass, processResponsegetAcceptType, getContentType, getProxyData, getUri, setProxyDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetResponseClassgetAcceptType, getContentType, getUri, processResponse, setProxyDataprotected Creator(String accessPolicyId, String assetId, LocatorType locatorType)
accessPolicyId - the access policy idassetId - the asset idlocatorType - the locator typepublic Object getRequestContents()
EntityCreateOperationgetRequestContents in interface EntityCreateOperation<LocatorInfo>public Locator.Creator setBaseUri(String baseUri)
baseUri - the base uripublic Locator.Creator setPath(String path)
path - the pathpublic Locator.Creator setStartDateTime(Date startDateTime)
startDateTime - The date/timepublic Locator.Creator setContentAccessComponent(String contentAccessComponent)
contentAccessComponent - the content access componentpublic EntityCreateOperation<LocatorInfo> setId(String id)
id - the id/**
* 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.
*/