com.pulumi.aws.networkfirewall.inputs.RuleGroupRuleGroupRuleVariablesPortSetPortSetArgs 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.
// *** 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.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
public final class RuleGroupRuleGroupRuleVariablesPortSetPortSetArgs extends com.pulumi.resources.ResourceArgs {
public static final RuleGroupRuleGroupRuleVariablesPortSetPortSetArgs Empty = new RuleGroupRuleGroupRuleVariablesPortSetPortSetArgs();
/**
* Set of port ranges.
*
*/
@Import(name="definitions", required=true)
private Output> definitions;
/**
* @return Set of port ranges.
*
*/
public Output> definitions() {
return this.definitions;
}
private RuleGroupRuleGroupRuleVariablesPortSetPortSetArgs() {}
private RuleGroupRuleGroupRuleVariablesPortSetPortSetArgs(RuleGroupRuleGroupRuleVariablesPortSetPortSetArgs $) {
this.definitions = $.definitions;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RuleGroupRuleGroupRuleVariablesPortSetPortSetArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private RuleGroupRuleGroupRuleVariablesPortSetPortSetArgs $;
public Builder() {
$ = new RuleGroupRuleGroupRuleVariablesPortSetPortSetArgs();
}
public Builder(RuleGroupRuleGroupRuleVariablesPortSetPortSetArgs defaults) {
$ = new RuleGroupRuleGroupRuleVariablesPortSetPortSetArgs(Objects.requireNonNull(defaults));
}
/**
* @param definitions Set of port ranges.
*
* @return builder
*
*/
public Builder definitions(Output> definitions) {
$.definitions = definitions;
return this;
}
/**
* @param definitions Set of port ranges.
*
* @return builder
*
*/
public Builder definitions(List definitions) {
return definitions(Output.of(definitions));
}
/**
* @param definitions Set of port ranges.
*
* @return builder
*
*/
public Builder definitions(String... definitions) {
return definitions(List.of(definitions));
}
public RuleGroupRuleGroupRuleVariablesPortSetPortSetArgs build() {
if ($.definitions == null) {
throw new MissingRequiredPropertyException("RuleGroupRuleGroupRuleVariablesPortSetPortSetArgs", "definitions");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy