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

com.pulumi.azurenative.media.outputs.EnabledProtocolsResponse 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.outputs;

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

@CustomType
public final class EnabledProtocolsResponse {
    /**
     * @return Enable DASH protocol or not
     * 
     */
    private Boolean dash;
    /**
     * @return Enable Download protocol or not
     * 
     */
    private Boolean download;
    /**
     * @return Enable HLS protocol or not
     * 
     */
    private Boolean hls;
    /**
     * @return Enable SmoothStreaming protocol or not
     * 
     */
    private Boolean smoothStreaming;

    private EnabledProtocolsResponse() {}
    /**
     * @return Enable DASH protocol or not
     * 
     */
    public Boolean dash() {
        return this.dash;
    }
    /**
     * @return Enable Download protocol or not
     * 
     */
    public Boolean download() {
        return this.download;
    }
    /**
     * @return Enable HLS protocol or not
     * 
     */
    public Boolean hls() {
        return this.hls;
    }
    /**
     * @return Enable SmoothStreaming protocol or not
     * 
     */
    public Boolean smoothStreaming() {
        return this.smoothStreaming;
    }

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

    public static Builder builder(EnabledProtocolsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Boolean dash;
        private Boolean download;
        private Boolean hls;
        private Boolean smoothStreaming;
        public Builder() {}
        public Builder(EnabledProtocolsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.dash = defaults.dash;
    	      this.download = defaults.download;
    	      this.hls = defaults.hls;
    	      this.smoothStreaming = defaults.smoothStreaming;
        }

        @CustomType.Setter
        public Builder dash(Boolean dash) {
            if (dash == null) {
              throw new MissingRequiredPropertyException("EnabledProtocolsResponse", "dash");
            }
            this.dash = dash;
            return this;
        }
        @CustomType.Setter
        public Builder download(Boolean download) {
            if (download == null) {
              throw new MissingRequiredPropertyException("EnabledProtocolsResponse", "download");
            }
            this.download = download;
            return this;
        }
        @CustomType.Setter
        public Builder hls(Boolean hls) {
            if (hls == null) {
              throw new MissingRequiredPropertyException("EnabledProtocolsResponse", "hls");
            }
            this.hls = hls;
            return this;
        }
        @CustomType.Setter
        public Builder smoothStreaming(Boolean smoothStreaming) {
            if (smoothStreaming == null) {
              throw new MissingRequiredPropertyException("EnabledProtocolsResponse", "smoothStreaming");
            }
            this.smoothStreaming = smoothStreaming;
            return this;
        }
        public EnabledProtocolsResponse build() {
            final var _resultValue = new EnabledProtocolsResponse();
            _resultValue.dash = dash;
            _resultValue.download = download;
            _resultValue.hls = hls;
            _resultValue.smoothStreaming = smoothStreaming;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy