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

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

The 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.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GetP2sVpnGatewayP2sVpnConnectionHealthDetailedArgs Empty = new GetP2sVpnGatewayP2sVpnConnectionHealthDetailedArgs();

    /**
     * The name of the P2SVpnGateway.
     * 
     */
    @Import(name="gatewayName", required=true)
    private Output gatewayName;

    /**
     * @return The name of the P2SVpnGateway.
     * 
     */
    public Output gatewayName() {
        return this.gatewayName;
    }

    /**
     * The sas-url to download the P2S Vpn connection health detail.
     * 
     */
    @Import(name="outputBlobSasUrl")
    private @Nullable Output outputBlobSasUrl;

    /**
     * @return The sas-url to download the P2S Vpn connection health detail.
     * 
     */
    public Optional> outputBlobSasUrl() {
        return Optional.ofNullable(this.outputBlobSasUrl);
    }

    /**
     * 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;
    }

    /**
     * The list of p2s vpn user names whose p2s vpn connection detailed health to retrieve for.
     * 
     */
    @Import(name="vpnUserNamesFilter")
    private @Nullable Output> vpnUserNamesFilter;

    /**
     * @return The list of p2s vpn user names whose p2s vpn connection detailed health to retrieve for.
     * 
     */
    public Optional>> vpnUserNamesFilter() {
        return Optional.ofNullable(this.vpnUserNamesFilter);
    }

    private GetP2sVpnGatewayP2sVpnConnectionHealthDetailedArgs() {}

    private GetP2sVpnGatewayP2sVpnConnectionHealthDetailedArgs(GetP2sVpnGatewayP2sVpnConnectionHealthDetailedArgs $) {
        this.gatewayName = $.gatewayName;
        this.outputBlobSasUrl = $.outputBlobSasUrl;
        this.resourceGroupName = $.resourceGroupName;
        this.vpnUserNamesFilter = $.vpnUserNamesFilter;
    }

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

    public static final class Builder {
        private GetP2sVpnGatewayP2sVpnConnectionHealthDetailedArgs $;

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

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

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

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

        /**
         * @param outputBlobSasUrl The sas-url to download the P2S Vpn connection health detail.
         * 
         * @return builder
         * 
         */
        public Builder outputBlobSasUrl(@Nullable Output outputBlobSasUrl) {
            $.outputBlobSasUrl = outputBlobSasUrl;
            return this;
        }

        /**
         * @param outputBlobSasUrl The sas-url to download the P2S Vpn connection health detail.
         * 
         * @return builder
         * 
         */
        public Builder outputBlobSasUrl(String outputBlobSasUrl) {
            return outputBlobSasUrl(Output.of(outputBlobSasUrl));
        }

        /**
         * @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));
        }

        /**
         * @param vpnUserNamesFilter The list of p2s vpn user names whose p2s vpn connection detailed health to retrieve for.
         * 
         * @return builder
         * 
         */
        public Builder vpnUserNamesFilter(@Nullable Output> vpnUserNamesFilter) {
            $.vpnUserNamesFilter = vpnUserNamesFilter;
            return this;
        }

        /**
         * @param vpnUserNamesFilter The list of p2s vpn user names whose p2s vpn connection detailed health to retrieve for.
         * 
         * @return builder
         * 
         */
        public Builder vpnUserNamesFilter(List vpnUserNamesFilter) {
            return vpnUserNamesFilter(Output.of(vpnUserNamesFilter));
        }

        /**
         * @param vpnUserNamesFilter The list of p2s vpn user names whose p2s vpn connection detailed health to retrieve for.
         * 
         * @return builder
         * 
         */
        public Builder vpnUserNamesFilter(String... vpnUserNamesFilter) {
            return vpnUserNamesFilter(List.of(vpnUserNamesFilter));
        }

        public GetP2sVpnGatewayP2sVpnConnectionHealthDetailedArgs build() {
            if ($.gatewayName == null) {
                throw new MissingRequiredPropertyException("GetP2sVpnGatewayP2sVpnConnectionHealthDetailedArgs", "gatewayName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetP2sVpnGatewayP2sVpnConnectionHealthDetailedArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy