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

com.pulumi.azurenative.media.inputs.LiveEventEndpointArgs 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.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;


/**
 * The live event endpoint.
 * 
 */
public final class LiveEventEndpointArgs extends com.pulumi.resources.ResourceArgs {

    public static final LiveEventEndpointArgs Empty = new LiveEventEndpointArgs();

    /**
     * The endpoint protocol.
     * 
     */
    @Import(name="protocol")
    private @Nullable Output protocol;

    /**
     * @return The endpoint protocol.
     * 
     */
    public Optional> protocol() {
        return Optional.ofNullable(this.protocol);
    }

    /**
     * The endpoint URL.
     * 
     */
    @Import(name="url")
    private @Nullable Output url;

    /**
     * @return The endpoint URL.
     * 
     */
    public Optional> url() {
        return Optional.ofNullable(this.url);
    }

    private LiveEventEndpointArgs() {}

    private LiveEventEndpointArgs(LiveEventEndpointArgs $) {
        this.protocol = $.protocol;
        this.url = $.url;
    }

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

    public static final class Builder {
        private LiveEventEndpointArgs $;

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

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

        /**
         * @param protocol The endpoint protocol.
         * 
         * @return builder
         * 
         */
        public Builder protocol(@Nullable Output protocol) {
            $.protocol = protocol;
            return this;
        }

        /**
         * @param protocol The endpoint protocol.
         * 
         * @return builder
         * 
         */
        public Builder protocol(String protocol) {
            return protocol(Output.of(protocol));
        }

        /**
         * @param url The endpoint URL.
         * 
         * @return builder
         * 
         */
        public Builder url(@Nullable Output url) {
            $.url = url;
            return this;
        }

        /**
         * @param url The endpoint URL.
         * 
         * @return builder
         * 
         */
        public Builder url(String url) {
            return url(Output.of(url));
        }

        public LiveEventEndpointArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy