/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file 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. */ /* * Do not modify this file. This file is generated from the mediaconvert-2017-08-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.MediaConvert.Model { /// /// Use these settings to set up encryption with a static key provider. /// public partial class StaticKeyProvider { private string _keyFormat; private string _keyFormatVersions; private string _staticKeyValue; private string _url; /// /// Gets and sets the property KeyFormat. Relates to DRM implementation. Sets the value /// of the KEYFORMAT attribute. Must be 'identity' or a reverse DNS string. May be omitted /// to indicate an implicit value of 'identity'. /// public string KeyFormat { get { return this._keyFormat; } set { this._keyFormat = value; } } // Check to see if KeyFormat property is set internal bool IsSetKeyFormat() { return this._keyFormat != null; } /// /// Gets and sets the property KeyFormatVersions. Relates to DRM implementation. Either /// a single positive integer version value or a slash delimited list of version values /// (1/2/3). /// public string KeyFormatVersions { get { return this._keyFormatVersions; } set { this._keyFormatVersions = value; } } // Check to see if KeyFormatVersions property is set internal bool IsSetKeyFormatVersions() { return this._keyFormatVersions != null; } /// /// Gets and sets the property StaticKeyValue. Relates to DRM implementation. Use a 32-character /// hexidecimal string to specify Key Value. /// public string StaticKeyValue { get { return this._staticKeyValue; } set { this._staticKeyValue = value; } } // Check to see if StaticKeyValue property is set internal bool IsSetStaticKeyValue() { return this._staticKeyValue != null; } /// /// Gets and sets the property Url. Relates to DRM implementation. The location of the /// license server used for protecting content. /// public string Url { get { return this._url; } set { this._url = value; } } // Check to see if Url property is set internal bool IsSetUrl() { return this._url != null; } } }