Package com.vmware.nsx_policy.model
Class FederationNodeSummary.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.FederationNodeSummary.Builder
-
- Enclosing class:
- FederationNodeSummary
public static final class FederationNodeSummary.Builder extends java.lang.Object
Builder class forFederationNodeSummary
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofFederationNodeSummary
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FederationNodeSummary
build()
FederationNodeSummary.Builder
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.FederationNodeSummary.Builder
setNodeCount(java.lang.Long nodeCount)
Number of nodes of the type and at the component version.FederationNodeSummary.Builder
setSchema(java.lang.String schema)
Schema for this resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.FederationNodeSummary.Builder
setSelf(SelfResourceLink self)
FederationNodeSummary.Builder
setVersion(java.lang.String version)
Component version This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofFederationNodeSummary
.
-
-
Method Detail
-
setLinks
public FederationNodeSummary.Builder setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource. Ignored on PUT and POST. 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:
links
- New value for the property.
-
setSchema
public FederationNodeSummary.Builder setSchema(java.lang.String schema)
Schema for this resource 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:
schema
- New value for the property.
-
setSelf
public FederationNodeSummary.Builder setSelf(SelfResourceLink self)
- Parameters:
self
- New value for the property.
-
setNodeCount
public FederationNodeSummary.Builder setNodeCount(java.lang.Long nodeCount)
Number of nodes of the type and at the component version. format: int32 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:
nodeCount
- New value for the property.
-
setVersion
public FederationNodeSummary.Builder setVersion(java.lang.String version)
Component version 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:
version
- New value for the property.
-
build
public FederationNodeSummary build()
-
-