public class CloudHsmProxyHostnamesConfigBuilder
extends java.lang.Object
CloudHsmProxyHostnamesConfig.| Modifier and Type | Method and Description |
|---|---|
CloudHsmProxyHostnamesConfig |
build()
Constructs the
CloudHsmProxyHostnamesConfig with the input provided to the builder. |
CloudHsmProxyHostnamesConfigBuilder |
withProxyMap(java.lang.String hsmEniIpAddress,
java.lang.String proxyHostnames)
Sets the mappings of the HSM ENI hostnames to the proxy hostnames.
|
CloudHsmProxyHostnamesConfigBuilder |
withProxyType(java.lang.String proxyType)
Sets the allowed values(passthrough, loose, and strict) for proxy type.
|
public CloudHsmProxyHostnamesConfigBuilder withProxyType(java.lang.String proxyType)
proxyType - value for the proxy type.public CloudHsmProxyHostnamesConfigBuilder withProxyMap(java.lang.String hsmEniIpAddress, java.lang.String proxyHostnames)
hsmEniIpAddress - the ip address of the HSM ENI IP which needs to be translated.proxyHostnames - the proxy hostnames, the hsmEniIpAddress should be translated to.public CloudHsmProxyHostnamesConfig build() throws java.security.InvalidParameterException
CloudHsmProxyHostnamesConfig with the input provided to the builder.java.security.InvalidParameterException - when the required parameters proxy type or address map is
either null or empty.