com.pulumi.azurenative.network.inputs.GetP2sVpnGatewayP2sVpnConnectionHealthDetailedPlainArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class GetP2sVpnGatewayP2sVpnConnectionHealthDetailedPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetP2sVpnGatewayP2sVpnConnectionHealthDetailedPlainArgs Empty = new GetP2sVpnGatewayP2sVpnConnectionHealthDetailedPlainArgs();
/**
* The name of the P2SVpnGateway.
*
*/
@Import(name="gatewayName", required=true)
private String gatewayName;
/**
* @return The name of the P2SVpnGateway.
*
*/
public String gatewayName() {
return this.gatewayName;
}
/**
* The sas-url to download the P2S Vpn connection health detail.
*
*/
@Import(name="outputBlobSasUrl")
private @Nullable String 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 String resourceGroupName;
/**
* @return The name of the resource group.
*
*/
public String 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 List 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 GetP2sVpnGatewayP2sVpnConnectionHealthDetailedPlainArgs() {}
private GetP2sVpnGatewayP2sVpnConnectionHealthDetailedPlainArgs(GetP2sVpnGatewayP2sVpnConnectionHealthDetailedPlainArgs $) {
this.gatewayName = $.gatewayName;
this.outputBlobSasUrl = $.outputBlobSasUrl;
this.resourceGroupName = $.resourceGroupName;
this.vpnUserNamesFilter = $.vpnUserNamesFilter;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetP2sVpnGatewayP2sVpnConnectionHealthDetailedPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetP2sVpnGatewayP2sVpnConnectionHealthDetailedPlainArgs $;
public Builder() {
$ = new GetP2sVpnGatewayP2sVpnConnectionHealthDetailedPlainArgs();
}
public Builder(GetP2sVpnGatewayP2sVpnConnectionHealthDetailedPlainArgs defaults) {
$ = new GetP2sVpnGatewayP2sVpnConnectionHealthDetailedPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param gatewayName The name of the P2SVpnGateway.
*
* @return builder
*
*/
public Builder gatewayName(String gatewayName) {
$.gatewayName = gatewayName;
return this;
}
/**
* @param outputBlobSasUrl The sas-url to download the P2S Vpn connection health detail.
*
* @return builder
*
*/
public Builder outputBlobSasUrl(@Nullable String outputBlobSasUrl) {
$.outputBlobSasUrl = outputBlobSasUrl;
return this;
}
/**
* @param resourceGroupName The name of the resource group.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
$.resourceGroupName = resourceGroupName;
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(@Nullable List 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(String... vpnUserNamesFilter) {
return vpnUserNamesFilter(List.of(vpnUserNamesFilter));
}
public GetP2sVpnGatewayP2sVpnConnectionHealthDetailedPlainArgs build() {
if ($.gatewayName == null) {
throw new MissingRequiredPropertyException("GetP2sVpnGatewayP2sVpnConnectionHealthDetailedPlainArgs", "gatewayName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetP2sVpnGatewayP2sVpnConnectionHealthDetailedPlainArgs", "resourceGroupName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy