public static final class ClusteringInfo.Builder
extends java.lang.Object
ClusteringInfo
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ClusteringInfo . |
Modifier and Type | Method and Description |
---|---|
ClusteringInfo |
build() |
ClusteringInfo.Builder |
setJoinToExistingCluster(java.lang.Boolean joinToExistingCluster)
Property to indicate if the node must join an existing cluster.
|
ClusteringInfo.Builder |
setSharedSecret(java.lang.String sharedSecret)
Shared secret of the cluster.
|
public Builder()
ClusteringInfo
.public ClusteringInfo.Builder setJoinToExistingCluster(java.lang.Boolean joinToExistingCluster)
joinToExistingCluster
- New value for the property.public ClusteringInfo.Builder setSharedSecret(java.lang.String sharedSecret)
sharedSecret
- New value for the property.public ClusteringInfo build()