Package com.intercom.api.types
Class IpAllowlist.Builder
- java.lang.Object
-
- com.intercom.api.types.IpAllowlist.Builder
-
- Enclosing class:
- IpAllowlist
public static final class IpAllowlist.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IpAllowlistbuild()IpAllowlist.Builderenabled(java.lang.Boolean enabled)IpAllowlist.Builderenabled(java.util.Optional<java.lang.Boolean> enabled)Whether the IP allowlist is enabled for the workspace.IpAllowlist.Builderfrom(IpAllowlist other)IpAllowlist.BuilderipAllowlist(java.util.List<java.lang.String> ipAllowlist)IpAllowlist.BuilderipAllowlist(java.util.Optional<java.util.List<java.lang.String>> ipAllowlist)List of allowed IP addresses and/or IP ranges in CIDR notation.IpAllowlist.Buildertype(java.lang.String type)IpAllowlist.Buildertype(java.util.Optional<java.lang.String> type)String representing the object's type.
-
-
-
Method Detail
-
from
public IpAllowlist.Builder from(IpAllowlist other)
-
type
public IpAllowlist.Builder type(java.util.Optional<java.lang.String> type)
String representing the object's type. Always has the value
ip_allowlist.
-
type
public IpAllowlist.Builder type(java.lang.String type)
-
enabled
public IpAllowlist.Builder enabled(java.util.Optional<java.lang.Boolean> enabled)
Whether the IP allowlist is enabled for the workspace.
-
enabled
public IpAllowlist.Builder enabled(java.lang.Boolean enabled)
-
ipAllowlist
public IpAllowlist.Builder ipAllowlist(java.util.Optional<java.util.List<java.lang.String>> ipAllowlist)
List of allowed IP addresses and/or IP ranges in CIDR notation. Examples:
- Single IP:
192.168.0.1 - IP range:
192.168.0.1/24(allows 192.168.0.0 - 192.168.0.255)
- Single IP:
-
ipAllowlist
public IpAllowlist.Builder ipAllowlist(java.util.List<java.lang.String> ipAllowlist)
-
build
public IpAllowlist build()
-
-