com.pulumi.azurenative.network.outputs.FirewallPolicyThreatIntelWhitelistResponse 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.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class FirewallPolicyThreatIntelWhitelistResponse {
/**
* @return List of FQDNs for the ThreatIntel Whitelist.
*
*/
private @Nullable List fqdns;
/**
* @return List of IP addresses for the ThreatIntel Whitelist.
*
*/
private @Nullable List ipAddresses;
private FirewallPolicyThreatIntelWhitelistResponse() {}
/**
* @return List of FQDNs for the ThreatIntel Whitelist.
*
*/
public List fqdns() {
return this.fqdns == null ? List.of() : this.fqdns;
}
/**
* @return List of IP addresses for the ThreatIntel Whitelist.
*
*/
public List ipAddresses() {
return this.ipAddresses == null ? List.of() : this.ipAddresses;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FirewallPolicyThreatIntelWhitelistResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List fqdns;
private @Nullable List ipAddresses;
public Builder() {}
public Builder(FirewallPolicyThreatIntelWhitelistResponse defaults) {
Objects.requireNonNull(defaults);
this.fqdns = defaults.fqdns;
this.ipAddresses = defaults.ipAddresses;
}
@CustomType.Setter
public Builder fqdns(@Nullable List fqdns) {
this.fqdns = fqdns;
return this;
}
public Builder fqdns(String... fqdns) {
return fqdns(List.of(fqdns));
}
@CustomType.Setter
public Builder ipAddresses(@Nullable List ipAddresses) {
this.ipAddresses = ipAddresses;
return this;
}
public Builder ipAddresses(String... ipAddresses) {
return ipAddresses(List.of(ipAddresses));
}
public FirewallPolicyThreatIntelWhitelistResponse build() {
final var _resultValue = new FirewallPolicyThreatIntelWhitelistResponse();
_resultValue.fqdns = fqdns;
_resultValue.ipAddresses = ipAddresses;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy