public static class IPAddressStringParameters.Builder extends AddressStringParameters.BuilderBase
Constructor and Description |
---|
Builder() |
public HostNameParameters.Builder getParentBuilder()
public IPAddressStringParameters.Builder allowEmpty(boolean allow)
allowEmpty
in class AddressStringParameters.BuilderBase
allow
- AddressStringParameters.allowEmpty
public IPAddressStringParameters.Builder allowSingleSegment(boolean allow)
allowSingleSegment
in class AddressStringParameters.BuilderBase
AddressStringParameters.allowEmpty
public IPAddressStringParameters.Builder setEmptyAsLoopback(boolean bool)
public IPAddressStringParameters.Builder allowPrefix(boolean allow)
public IPAddressStringParameters.Builder allowMask(boolean allow)
public IPAddressStringParameters.Builder allowPrefixOnly(boolean allow)
public IPAddressStringParameters.Builder allowAll(boolean allow)
allowAll
in class AddressStringParameters.BuilderBase
public IPAddressStringParameters.Builder allowIPv4(boolean allow)
public IPAddressStringParameters.Builder allowIPv6(boolean allow)
public IPAddressStringParameters.Builder allowWildcardedSeparator(boolean allow)
public IPAddressStringParameters.Builder setRangeOptions(AddressStringParameters.RangeParameters rangeOptions)
public IPAddressStringParameters.Builder allow_inet_aton(boolean allow)
allowSingleSegment(boolean)
This does not affect whether extraneous IPv4 digits are allowed, which can be allowed with IPv4AddressStringParameters.Builder#allow_inet_aton_extraneous_digits(boolean)
allow
- public void setIPv6AddressParameters(IPv6AddressStringParameters params)
public IPv6AddressStringParameters.Builder getIPv6AddressParametersBuilder()
public void setIPv4AddressParameters(IPv4AddressStringParameters params)
public IPv4AddressStringParameters.Builder getIPv4AddressParametersBuilder()
public IPAddressStringParameters toParams()