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

com.pulumi.azurenative.network.inputs.GetFlowLogArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.network.inputs;

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


public final class GetFlowLogArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetFlowLogArgs Empty = new GetFlowLogArgs();

    /**
     * The name of the flow log resource.
     * 
     */
    @Import(name="flowLogName", required=true)
    private Output flowLogName;

    /**
     * @return The name of the flow log resource.
     * 
     */
    public Output flowLogName() {
        return this.flowLogName;
    }

    /**
     * The name of the network watcher.
     * 
     */
    @Import(name="networkWatcherName", required=true)
    private Output networkWatcherName;

    /**
     * @return The name of the network watcher.
     * 
     */
    public Output networkWatcherName() {
        return this.networkWatcherName;
    }

    /**
     * The name of the resource group.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetFlowLogArgs() {}

    private GetFlowLogArgs(GetFlowLogArgs $) {
        this.flowLogName = $.flowLogName;
        this.networkWatcherName = $.networkWatcherName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetFlowLogArgs $;

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

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

        /**
         * @param flowLogName The name of the flow log resource.
         * 
         * @return builder
         * 
         */
        public Builder flowLogName(Output flowLogName) {
            $.flowLogName = flowLogName;
            return this;
        }

        /**
         * @param flowLogName The name of the flow log resource.
         * 
         * @return builder
         * 
         */
        public Builder flowLogName(String flowLogName) {
            return flowLogName(Output.of(flowLogName));
        }

        /**
         * @param networkWatcherName The name of the network watcher.
         * 
         * @return builder
         * 
         */
        public Builder networkWatcherName(Output networkWatcherName) {
            $.networkWatcherName = networkWatcherName;
            return this;
        }

        /**
         * @param networkWatcherName The name of the network watcher.
         * 
         * @return builder
         * 
         */
        public Builder networkWatcherName(String networkWatcherName) {
            return networkWatcherName(Output.of(networkWatcherName));
        }

        /**
         * @param resourceGroupName The name of the resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        public GetFlowLogArgs build() {
            if ($.flowLogName == null) {
                throw new MissingRequiredPropertyException("GetFlowLogArgs", "flowLogName");
            }
            if ($.networkWatcherName == null) {
                throw new MissingRequiredPropertyException("GetFlowLogArgs", "networkWatcherName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetFlowLogArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy