
com.pulumi.azurenative.network.inputs.GetNspAccessRulePlainArgs 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.Objects;
public final class GetNspAccessRulePlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetNspAccessRulePlainArgs Empty = new GetNspAccessRulePlainArgs();
/**
* The name of the NSP access rule.
*
*/
@Import(name="accessRuleName", required=true)
private String accessRuleName;
/**
* @return The name of the NSP access rule.
*
*/
public String accessRuleName() {
return this.accessRuleName;
}
/**
* The name of the network security perimeter.
*
*/
@Import(name="networkSecurityPerimeterName", required=true)
private String networkSecurityPerimeterName;
/**
* @return The name of the network security perimeter.
*
*/
public String networkSecurityPerimeterName() {
return this.networkSecurityPerimeterName;
}
/**
* The name of the NSP profile.
*
*/
@Import(name="profileName", required=true)
private String profileName;
/**
* @return The name of the NSP profile.
*
*/
public String profileName() {
return this.profileName;
}
/**
* 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 GetNspAccessRulePlainArgs() {}
private GetNspAccessRulePlainArgs(GetNspAccessRulePlainArgs $) {
this.accessRuleName = $.accessRuleName;
this.networkSecurityPerimeterName = $.networkSecurityPerimeterName;
this.profileName = $.profileName;
this.resourceGroupName = $.resourceGroupName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetNspAccessRulePlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetNspAccessRulePlainArgs $;
public Builder() {
$ = new GetNspAccessRulePlainArgs();
}
public Builder(GetNspAccessRulePlainArgs defaults) {
$ = new GetNspAccessRulePlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param accessRuleName The name of the NSP access rule.
*
* @return builder
*
*/
public Builder accessRuleName(String accessRuleName) {
$.accessRuleName = accessRuleName;
return this;
}
/**
* @param networkSecurityPerimeterName The name of the network security perimeter.
*
* @return builder
*
*/
public Builder networkSecurityPerimeterName(String networkSecurityPerimeterName) {
$.networkSecurityPerimeterName = networkSecurityPerimeterName;
return this;
}
/**
* @param profileName The name of the NSP profile.
*
* @return builder
*
*/
public Builder profileName(String profileName) {
$.profileName = profileName;
return this;
}
/**
* @param resourceGroupName The name of the resource group.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
public GetNspAccessRulePlainArgs build() {
if ($.accessRuleName == null) {
throw new MissingRequiredPropertyException("GetNspAccessRulePlainArgs", "accessRuleName");
}
if ($.networkSecurityPerimeterName == null) {
throw new MissingRequiredPropertyException("GetNspAccessRulePlainArgs", "networkSecurityPerimeterName");
}
if ($.profileName == null) {
throw new MissingRequiredPropertyException("GetNspAccessRulePlainArgs", "profileName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetNspAccessRulePlainArgs", "resourceGroupName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy