Package com.vmware.nsx_policy.model
Class ClusterMemberDetails.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ClusterMemberDetails.Builder
-
- Enclosing class:
- ClusterMemberDetails
public static final class ClusterMemberDetails.Builder extends java.lang.Object
Builder class forClusterMemberDetails
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofClusterMemberDetails
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterMemberDetails
build()
ClusterMemberDetails.Builder
setClusterId(java.lang.String clusterId)
The Antrea cluster id of the pod This property may be present in responses from the server, but if it is present in a request to server it will be ignored.ClusterMemberDetails.Builder
setClusterName(java.lang.String clusterName)
The Antrea cluster name of the pod This property may be present in responses from the server, but if it is present in a request to server it will be ignored.ClusterMemberDetails.Builder
setNamespaces(java.util.List<NamespaceMemberDetails> namespaces)
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofClusterMemberDetails
.
-
-
Method Detail
-
setClusterId
public ClusterMemberDetails.Builder setClusterId(java.lang.String clusterId)
The Antrea cluster id of the pod This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
clusterId
- New value for the property.
-
setClusterName
public ClusterMemberDetails.Builder setClusterName(java.lang.String clusterName)
The Antrea cluster name of the pod This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
clusterName
- New value for the property.
-
setNamespaces
public ClusterMemberDetails.Builder setNamespaces(java.util.List<NamespaceMemberDetails> namespaces)
- Parameters:
namespaces
- New value for the property.
-
build
public ClusterMemberDetails build()
-
-