com.pulumi.aws.networkfirewall.inputs.RuleGroupRuleGroupRuleVariablesIpSetArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
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.aws.networkfirewall.inputs;
import com.pulumi.aws.networkfirewall.inputs.RuleGroupRuleGroupRuleVariablesIpSetIpSetArgs;
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 RuleGroupRuleGroupRuleVariablesIpSetArgs extends com.pulumi.resources.ResourceArgs {
public static final RuleGroupRuleGroupRuleVariablesIpSetArgs Empty = new RuleGroupRuleGroupRuleVariablesIpSetArgs();
/**
* A configuration block that defines a set of IP addresses. See IP Set below for details.
*
*/
@Import(name="ipSet", required=true)
private Output ipSet;
/**
* @return A configuration block that defines a set of IP addresses. See IP Set below for details.
*
*/
public Output ipSet() {
return this.ipSet;
}
/**
* A unique alphanumeric string to identify the `ip_set`.
*
*/
@Import(name="key", required=true)
private Output key;
/**
* @return A unique alphanumeric string to identify the `ip_set`.
*
*/
public Output key() {
return this.key;
}
private RuleGroupRuleGroupRuleVariablesIpSetArgs() {}
private RuleGroupRuleGroupRuleVariablesIpSetArgs(RuleGroupRuleGroupRuleVariablesIpSetArgs $) {
this.ipSet = $.ipSet;
this.key = $.key;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RuleGroupRuleGroupRuleVariablesIpSetArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private RuleGroupRuleGroupRuleVariablesIpSetArgs $;
public Builder() {
$ = new RuleGroupRuleGroupRuleVariablesIpSetArgs();
}
public Builder(RuleGroupRuleGroupRuleVariablesIpSetArgs defaults) {
$ = new RuleGroupRuleGroupRuleVariablesIpSetArgs(Objects.requireNonNull(defaults));
}
/**
* @param ipSet A configuration block that defines a set of IP addresses. See IP Set below for details.
*
* @return builder
*
*/
public Builder ipSet(Output ipSet) {
$.ipSet = ipSet;
return this;
}
/**
* @param ipSet A configuration block that defines a set of IP addresses. See IP Set below for details.
*
* @return builder
*
*/
public Builder ipSet(RuleGroupRuleGroupRuleVariablesIpSetIpSetArgs ipSet) {
return ipSet(Output.of(ipSet));
}
/**
* @param key A unique alphanumeric string to identify the `ip_set`.
*
* @return builder
*
*/
public Builder key(Output key) {
$.key = key;
return this;
}
/**
* @param key A unique alphanumeric string to identify the `ip_set`.
*
* @return builder
*
*/
public Builder key(String key) {
return key(Output.of(key));
}
public RuleGroupRuleGroupRuleVariablesIpSetArgs build() {
if ($.ipSet == null) {
throw new MissingRequiredPropertyException("RuleGroupRuleGroupRuleVariablesIpSetArgs", "ipSet");
}
if ($.key == null) {
throw new MissingRequiredPropertyException("RuleGroupRuleGroupRuleVariablesIpSetArgs", "key");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy