com.pulumi.meraki.networks.outputs.GetApplianceSecurityIntrusionItemProtectedNetworks 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 java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetApplianceSecurityIntrusionItemProtectedNetworks {
/**
* @return List of IP addresses or subnets being excluded from protection
*
*/
private List excludedCidrs;
/**
* @return List of IP addresses or subnets being protected
*
*/
private List includedCidrs;
/**
* @return Whether special IPv4 addresses should be used (see: https://tools.ietf.org/html/rfc5735)
*
*/
private Boolean useDefault;
private GetApplianceSecurityIntrusionItemProtectedNetworks() {}
/**
* @return List of IP addresses or subnets being excluded from protection
*
*/
public List excludedCidrs() {
return this.excludedCidrs;
}
/**
* @return List of IP addresses or subnets being protected
*
*/
public List includedCidrs() {
return this.includedCidrs;
}
/**
* @return Whether special IPv4 addresses should be used (see: https://tools.ietf.org/html/rfc5735)
*
*/
public Boolean useDefault() {
return this.useDefault;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetApplianceSecurityIntrusionItemProtectedNetworks defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List excludedCidrs;
private List includedCidrs;
private Boolean useDefault;
public Builder() {}
public Builder(GetApplianceSecurityIntrusionItemProtectedNetworks defaults) {
Objects.requireNonNull(defaults);
this.excludedCidrs = defaults.excludedCidrs;
this.includedCidrs = defaults.includedCidrs;
this.useDefault = defaults.useDefault;
}
@CustomType.Setter
public Builder excludedCidrs(List excludedCidrs) {
if (excludedCidrs == null) {
throw new MissingRequiredPropertyException("GetApplianceSecurityIntrusionItemProtectedNetworks", "excludedCidrs");
}
this.excludedCidrs = excludedCidrs;
return this;
}
public Builder excludedCidrs(String... excludedCidrs) {
return excludedCidrs(List.of(excludedCidrs));
}
@CustomType.Setter
public Builder includedCidrs(List includedCidrs) {
if (includedCidrs == null) {
throw new MissingRequiredPropertyException("GetApplianceSecurityIntrusionItemProtectedNetworks", "includedCidrs");
}
this.includedCidrs = includedCidrs;
return this;
}
public Builder includedCidrs(String... includedCidrs) {
return includedCidrs(List.of(includedCidrs));
}
@CustomType.Setter
public Builder useDefault(Boolean useDefault) {
if (useDefault == null) {
throw new MissingRequiredPropertyException("GetApplianceSecurityIntrusionItemProtectedNetworks", "useDefault");
}
this.useDefault = useDefault;
return this;
}
public GetApplianceSecurityIntrusionItemProtectedNetworks build() {
final var _resultValue = new GetApplianceSecurityIntrusionItemProtectedNetworks();
_resultValue.excludedCidrs = excludedCidrs;
_resultValue.includedCidrs = includedCidrs;
_resultValue.useDefault = useDefault;
return _resultValue;
}
}
}