Package com.vmware.nsx_policy.model
Class AntreaAdapterStatus.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.AntreaAdapterStatus.Builder
-
- Enclosing class:
- AntreaAdapterStatus
public static final class AntreaAdapterStatus.Builder extends java.lang.Object
Builder class forAntreaAdapterStatus
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofAntreaAdapterStatus
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AntreaAdapterStatus
build()
AntreaAdapterStatus.Builder
setConditions(java.util.List<ComponentConditionItem> conditions)
Collection of adapter conditions.AntreaAdapterStatus.Builder
setStatus(java.lang.String status)
Possible values are:AntreaAdapterStatus.STATUS_HEALTHY
AntreaAdapterStatus.STATUS_DEGRADED
AntreaAdapterStatus.STATUS_FAILED
AntreaAdapterStatus.STATUS_UNKNOWN
Indicate overall healthy status.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofAntreaAdapterStatus
.
-
-
Method Detail
-
setConditions
public AntreaAdapterStatus.Builder setConditions(java.util.List<ComponentConditionItem> conditions)
Collection of adapter conditions. 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:
conditions
- New value for the property.
-
setStatus
public AntreaAdapterStatus.Builder setStatus(java.lang.String status)
Possible values are: Indicate overall healthy status. 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:
status
- New value for the property.
-
build
public AntreaAdapterStatus build()
-
-