com.pulumi.azurenative.network.inputs.GetAdminRulePlainArgs 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 GetAdminRulePlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetAdminRulePlainArgs Empty = new GetAdminRulePlainArgs();
/**
* The name of the network manager Security Configuration.
*
*/
@Import(name="configurationName", required=true)
private String configurationName;
/**
* @return The name of the network manager Security Configuration.
*
*/
public String configurationName() {
return this.configurationName;
}
/**
* The name of the network manager.
*
*/
@Import(name="networkManagerName", required=true)
private String networkManagerName;
/**
* @return The name of the network manager.
*
*/
public String networkManagerName() {
return this.networkManagerName;
}
/**
* 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 name of the network manager security Configuration rule collection.
*
*/
@Import(name="ruleCollectionName", required=true)
private String ruleCollectionName;
/**
* @return The name of the network manager security Configuration rule collection.
*
*/
public String ruleCollectionName() {
return this.ruleCollectionName;
}
/**
* The name of the rule.
*
*/
@Import(name="ruleName", required=true)
private String ruleName;
/**
* @return The name of the rule.
*
*/
public String ruleName() {
return this.ruleName;
}
private GetAdminRulePlainArgs() {}
private GetAdminRulePlainArgs(GetAdminRulePlainArgs $) {
this.configurationName = $.configurationName;
this.networkManagerName = $.networkManagerName;
this.resourceGroupName = $.resourceGroupName;
this.ruleCollectionName = $.ruleCollectionName;
this.ruleName = $.ruleName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetAdminRulePlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetAdminRulePlainArgs $;
public Builder() {
$ = new GetAdminRulePlainArgs();
}
public Builder(GetAdminRulePlainArgs defaults) {
$ = new GetAdminRulePlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param configurationName The name of the network manager Security Configuration.
*
* @return builder
*
*/
public Builder configurationName(String configurationName) {
$.configurationName = configurationName;
return this;
}
/**
* @param networkManagerName The name of the network manager.
*
* @return builder
*
*/
public Builder networkManagerName(String networkManagerName) {
$.networkManagerName = networkManagerName;
return this;
}
/**
* @param resourceGroupName The name of the resource group.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param ruleCollectionName The name of the network manager security Configuration rule collection.
*
* @return builder
*
*/
public Builder ruleCollectionName(String ruleCollectionName) {
$.ruleCollectionName = ruleCollectionName;
return this;
}
/**
* @param ruleName The name of the rule.
*
* @return builder
*
*/
public Builder ruleName(String ruleName) {
$.ruleName = ruleName;
return this;
}
public GetAdminRulePlainArgs build() {
if ($.configurationName == null) {
throw new MissingRequiredPropertyException("GetAdminRulePlainArgs", "configurationName");
}
if ($.networkManagerName == null) {
throw new MissingRequiredPropertyException("GetAdminRulePlainArgs", "networkManagerName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetAdminRulePlainArgs", "resourceGroupName");
}
if ($.ruleCollectionName == null) {
throw new MissingRequiredPropertyException("GetAdminRulePlainArgs", "ruleCollectionName");
}
if ($.ruleName == null) {
throw new MissingRequiredPropertyException("GetAdminRulePlainArgs", "ruleName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy