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