public static class ContentKey.Creator extends EntityOperationSingleResultBase<ContentKeyInfo> implements EntityCreateOperation<ContentKeyInfo>
EntityOperationBase.EntityIdUriBuilder, EntityOperationBase.EntityUriBuilder| Constructor and Description |
|---|
Creator(String id,
ContentKeyType contentKeyType,
String encryptedContentKey)
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.
|
ContentKey.Creator |
setChecksum(String checksum)
Sets the checksum.
|
ContentKey.Creator |
setName(String name)
Sets the name.
|
ContentKey.Creator |
setProtectionKeyId(String protectionKeyId)
Sets the protection key id.
|
ContentKey.Creator |
setProtectionKeyType(ProtectionKeyType protectionKeyType)
Sets the protection key type.
|
getResponseClass, processResponsegetAcceptType, getContentType, getProxyData, getUri, setProxyDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetResponseClassgetAcceptType, getContentType, getUri, processResponse, setProxyDatapublic Creator(String id, ContentKeyType contentKeyType, String encryptedContentKey)
id - the idcontentKeyType - the content key typeencryptedContentKey - the encrypted content keypublic Object getRequestContents()
EntityCreateOperationgetRequestContents in interface EntityCreateOperation<ContentKeyInfo>public ContentKey.Creator setName(String name)
name - the namepublic ContentKey.Creator setChecksum(String checksum)
checksum - the checksumpublic ContentKey.Creator setProtectionKeyId(String protectionKeyId)
protectionKeyId - the protection key idpublic ContentKey.Creator setProtectionKeyType(ProtectionKeyType protectionKeyType)
protectionKeyType - the protection key type/**
* 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.
*/