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

com.pulumi.azurenative.network.inputs.GetPacketCapturePlainArgs 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.network.inputs;

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


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

    public static final GetPacketCapturePlainArgs Empty = new GetPacketCapturePlainArgs();

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

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

    /**
     * The name of the packet capture session.
     * 
     */
    @Import(name="packetCaptureName", required=true)
    private String packetCaptureName;

    /**
     * @return The name of the packet capture session.
     * 
     */
    public String packetCaptureName() {
        return this.packetCaptureName;
    }

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

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

    private GetPacketCapturePlainArgs() {}

    private GetPacketCapturePlainArgs(GetPacketCapturePlainArgs $) {
        this.networkWatcherName = $.networkWatcherName;
        this.packetCaptureName = $.packetCaptureName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetPacketCapturePlainArgs $;

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

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

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

        /**
         * @param packetCaptureName The name of the packet capture session.
         * 
         * @return builder
         * 
         */
        public Builder packetCaptureName(String packetCaptureName) {
            $.packetCaptureName = packetCaptureName;
            return this;
        }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy