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

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

There is a newer version: 2.89.2
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 configurations of PlayReady in Streaming Policy
 * 
 */
public final class StreamingPolicyPlayReadyConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final StreamingPolicyPlayReadyConfigurationArgs Empty = new StreamingPolicyPlayReadyConfigurationArgs();

    /**
     * Template for the URL of the custom service delivering licenses 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 values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
     * 
     */
    @Import(name="customLicenseAcquisitionUrlTemplate")
    private @Nullable Output customLicenseAcquisitionUrlTemplate;

    /**
     * @return Template for the URL of the custom service delivering licenses 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 values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
     * 
     */
    public Optional> customLicenseAcquisitionUrlTemplate() {
        return Optional.ofNullable(this.customLicenseAcquisitionUrlTemplate);
    }

    /**
     * Custom attributes for PlayReady
     * 
     */
    @Import(name="playReadyCustomAttributes")
    private @Nullable Output playReadyCustomAttributes;

    /**
     * @return Custom attributes for PlayReady
     * 
     */
    public Optional> playReadyCustomAttributes() {
        return Optional.ofNullable(this.playReadyCustomAttributes);
    }

    private StreamingPolicyPlayReadyConfigurationArgs() {}

    private StreamingPolicyPlayReadyConfigurationArgs(StreamingPolicyPlayReadyConfigurationArgs $) {
        this.customLicenseAcquisitionUrlTemplate = $.customLicenseAcquisitionUrlTemplate;
        this.playReadyCustomAttributes = $.playReadyCustomAttributes;
    }

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

    public static final class Builder {
        private StreamingPolicyPlayReadyConfigurationArgs $;

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

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

        /**
         * @param customLicenseAcquisitionUrlTemplate Template for the URL of the custom service delivering licenses 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 values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
         * 
         * @return builder
         * 
         */
        public Builder customLicenseAcquisitionUrlTemplate(@Nullable Output customLicenseAcquisitionUrlTemplate) {
            $.customLicenseAcquisitionUrlTemplate = customLicenseAcquisitionUrlTemplate;
            return this;
        }

        /**
         * @param customLicenseAcquisitionUrlTemplate Template for the URL of the custom service delivering licenses 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 values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
         * 
         * @return builder
         * 
         */
        public Builder customLicenseAcquisitionUrlTemplate(String customLicenseAcquisitionUrlTemplate) {
            return customLicenseAcquisitionUrlTemplate(Output.of(customLicenseAcquisitionUrlTemplate));
        }

        /**
         * @param playReadyCustomAttributes Custom attributes for PlayReady
         * 
         * @return builder
         * 
         */
        public Builder playReadyCustomAttributes(@Nullable Output playReadyCustomAttributes) {
            $.playReadyCustomAttributes = playReadyCustomAttributes;
            return this;
        }

        /**
         * @param playReadyCustomAttributes Custom attributes for PlayReady
         * 
         * @return builder
         * 
         */
        public Builder playReadyCustomAttributes(String playReadyCustomAttributes) {
            return playReadyCustomAttributes(Output.of(playReadyCustomAttributes));
        }

        public StreamingPolicyPlayReadyConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy