com.pulumi.meraki.networks.outputs.GetApplianceFirewallOneToOneNatRulesItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of meraki Show documentation
Show all versions of meraki Show documentation
A Pulumi package for creating and managing Cisco Meraki 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.meraki.networks.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.meraki.networks.outputs.GetApplianceFirewallOneToOneNatRulesItemRule;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetApplianceFirewallOneToOneNatRulesItem {
private List rules;
private GetApplianceFirewallOneToOneNatRulesItem() {}
public List rules() {
return this.rules;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetApplianceFirewallOneToOneNatRulesItem defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List rules;
public Builder() {}
public Builder(GetApplianceFirewallOneToOneNatRulesItem defaults) {
Objects.requireNonNull(defaults);
this.rules = defaults.rules;
}
@CustomType.Setter
public Builder rules(List rules) {
if (rules == null) {
throw new MissingRequiredPropertyException("GetApplianceFirewallOneToOneNatRulesItem", "rules");
}
this.rules = rules;
return this;
}
public Builder rules(GetApplianceFirewallOneToOneNatRulesItemRule... rules) {
return rules(List.of(rules));
}
public GetApplianceFirewallOneToOneNatRulesItem build() {
final var _resultValue = new GetApplianceFirewallOneToOneNatRulesItem();
_resultValue.rules = rules;
return _resultValue;
}
}
}