public class CloudHsmServerBuilder
extends java.lang.Object
CloudHsmServerBuilder.| Modifier and Type | Method and Description |
|---|---|
CloudHsmServer |
build()
Constructs the
CloudHsmServer with the input provided to the builder. |
CloudHsmServerBuilder |
withHostIP(java.lang.String hostIP)
Sets the server ip in the cluster.
|
CloudHsmServerBuilder |
withPort(int port)
Sets the server port in the cluster.
|
public CloudHsmServerBuilder withHostIP(java.lang.String hostIP)
hostIP - server ip.public CloudHsmServerBuilder withPort(int port)
port - server port.public CloudHsmServer build()
CloudHsmServer with the input provided to the builder.