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

com.pulumi.azurenative.media.inputs.LiveEventPreviewAccessControlArgs 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.azurenative.media.inputs.IPAccessControlArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The IP access control for the live event preview endpoint.
 * 
 */
public final class LiveEventPreviewAccessControlArgs extends com.pulumi.resources.ResourceArgs {

    public static final LiveEventPreviewAccessControlArgs Empty = new LiveEventPreviewAccessControlArgs();

    /**
     * The IP access control properties.
     * 
     */
    @Import(name="ip")
    private @Nullable Output ip;

    /**
     * @return The IP access control properties.
     * 
     */
    public Optional> ip() {
        return Optional.ofNullable(this.ip);
    }

    private LiveEventPreviewAccessControlArgs() {}

    private LiveEventPreviewAccessControlArgs(LiveEventPreviewAccessControlArgs $) {
        this.ip = $.ip;
    }

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

    public static final class Builder {
        private LiveEventPreviewAccessControlArgs $;

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

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

        /**
         * @param ip The IP access control properties.
         * 
         * @return builder
         * 
         */
        public Builder ip(@Nullable Output ip) {
            $.ip = ip;
            return this;
        }

        /**
         * @param ip The IP access control properties.
         * 
         * @return builder
         * 
         */
        public Builder ip(IPAccessControlArgs ip) {
            return ip(Output.of(ip));
        }

        public LiveEventPreviewAccessControlArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy