public static class Asset.Creator extends EntityOperationSingleResultBase<AssetInfo> implements EntityCreateOperation<AssetInfo>
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.
|
Asset.Creator |
setAlternateId(String alternateId)
Sets the alternate id of the asset to be created.
|
Asset.Creator |
setName(String name)
Set the name of the asset to be created.
|
Asset.Creator |
setOptions(AssetOption options)
Sets the options.
|
Asset.Creator |
setState(AssetState state)
Sets the state.
|
Asset.Creator |
setStorageAccountName(String storageAccountName)
Sets Name of the storage account that contains the asset's blob container.
|
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<AssetInfo>public Asset.Creator setName(String name)
name - The namepublic Asset.Creator setAlternateId(String alternateId)
alternateId - The idpublic Asset.Creator setOptions(AssetOption options)
options - the optionspublic Asset.Creator setState(AssetState state)
state - the statepublic Asset.Creator setStorageAccountName(String storageAccountName)
storageAccountName - Name of the storage account that contains the asset's blob container./**
* 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.
*/