All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.media.inputs.ClearKeyEncryptionConfigurationArgs Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.media.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Class to specify ClearKey configuration of common encryption schemes in Streaming Policy
 * 
 */
public final class ClearKeyEncryptionConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final ClearKeyEncryptionConfigurationArgs Empty = new ClearKeyEncryptionConfigurationArgs();

    /**
     * Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request.  The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.
     * 
     */
    @Import(name="customKeysAcquisitionUrlTemplate")
    private @Nullable Output customKeysAcquisitionUrlTemplate;

    /**
     * @return Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request.  The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.
     * 
     */
    public Optional> customKeysAcquisitionUrlTemplate() {
        return Optional.ofNullable(this.customKeysAcquisitionUrlTemplate);
    }

    private ClearKeyEncryptionConfigurationArgs() {}

    private ClearKeyEncryptionConfigurationArgs(ClearKeyEncryptionConfigurationArgs $) {
        this.customKeysAcquisitionUrlTemplate = $.customKeysAcquisitionUrlTemplate;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(ClearKeyEncryptionConfigurationArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private ClearKeyEncryptionConfigurationArgs $;

        public Builder() {
            $ = new ClearKeyEncryptionConfigurationArgs();
        }

        public Builder(ClearKeyEncryptionConfigurationArgs defaults) {
            $ = new ClearKeyEncryptionConfigurationArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param customKeysAcquisitionUrlTemplate Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request.  The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.
         * 
         * @return builder
         * 
         */
        public Builder customKeysAcquisitionUrlTemplate(@Nullable Output customKeysAcquisitionUrlTemplate) {
            $.customKeysAcquisitionUrlTemplate = customKeysAcquisitionUrlTemplate;
            return this;
        }

        /**
         * @param customKeysAcquisitionUrlTemplate Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request.  The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.
         * 
         * @return builder
         * 
         */
        public Builder customKeysAcquisitionUrlTemplate(String customKeysAcquisitionUrlTemplate) {
            return customKeysAcquisitionUrlTemplate(Output.of(customKeysAcquisitionUrlTemplate));
        }

        public ClearKeyEncryptionConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy