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

com.pulumi.azurenative.media.outputs.ContentKeyPolicyWidevineConfigurationResponse Maven / Gradle / Ivy

There is a newer version: 2.72.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.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class ContentKeyPolicyWidevineConfigurationResponse {
    /**
     * @return The discriminator for derived types.
     * Expected value is '#Microsoft.Media.ContentKeyPolicyWidevineConfiguration'.
     * 
     */
    private String odataType;
    /**
     * @return The Widevine template.
     * 
     */
    private String widevineTemplate;

    private ContentKeyPolicyWidevineConfigurationResponse() {}
    /**
     * @return The discriminator for derived types.
     * Expected value is '#Microsoft.Media.ContentKeyPolicyWidevineConfiguration'.
     * 
     */
    public String odataType() {
        return this.odataType;
    }
    /**
     * @return The Widevine template.
     * 
     */
    public String widevineTemplate() {
        return this.widevineTemplate;
    }

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

    public static Builder builder(ContentKeyPolicyWidevineConfigurationResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String odataType;
        private String widevineTemplate;
        public Builder() {}
        public Builder(ContentKeyPolicyWidevineConfigurationResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.odataType = defaults.odataType;
    	      this.widevineTemplate = defaults.widevineTemplate;
        }

        @CustomType.Setter
        public Builder odataType(String odataType) {
            if (odataType == null) {
              throw new MissingRequiredPropertyException("ContentKeyPolicyWidevineConfigurationResponse", "odataType");
            }
            this.odataType = odataType;
            return this;
        }
        @CustomType.Setter
        public Builder widevineTemplate(String widevineTemplate) {
            if (widevineTemplate == null) {
              throw new MissingRequiredPropertyException("ContentKeyPolicyWidevineConfigurationResponse", "widevineTemplate");
            }
            this.widevineTemplate = widevineTemplate;
            return this;
        }
        public ContentKeyPolicyWidevineConfigurationResponse build() {
            final var _resultValue = new ContentKeyPolicyWidevineConfigurationResponse();
            _resultValue.odataType = odataType;
            _resultValue.widevineTemplate = widevineTemplate;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy