Package com.vmware.nsx_policy.model
Class AntreaAgentsInfo.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.AntreaAgentsInfo.Builder
-
- Enclosing class:
- AntreaAgentsInfo
public static final class AntreaAgentsInfo.Builder extends java.lang.ObjectBuilder class forAntreaAgentsInfo.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofAntreaAgentsInfo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AntreaAgentsInfobuild()AntreaAgentsInfo.BuildersetDegradedAgentNum(java.lang.Long degradedAgentNum)The number of degraded agents 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.AntreaAgentsInfo.BuildersetFailedAgentNum(java.lang.Long failedAgentNum)The number of failed agents 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.AntreaAgentsInfo.BuildersetHealthyAgentNum(java.lang.Long healthyAgentNum)The number of healthy agents 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.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofAntreaAgentsInfo.
-
-
Method Detail
-
setDegradedAgentNum
public AntreaAgentsInfo.Builder setDegradedAgentNum(java.lang.Long degradedAgentNum)
The number of degraded agents 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:
degradedAgentNum- New value for the property.
-
setFailedAgentNum
public AntreaAgentsInfo.Builder setFailedAgentNum(java.lang.Long failedAgentNum)
The number of failed agents 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:
failedAgentNum- New value for the property.
-
setHealthyAgentNum
public AntreaAgentsInfo.Builder setHealthyAgentNum(java.lang.Long healthyAgentNum)
The number of healthy agents 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:
healthyAgentNum- New value for the property.
-
build
public AntreaAgentsInfo build()
-
-