Package com.vmware.nsx_policy.model
Class PnicBondStatus.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PnicBondStatus.Builder
-
- Enclosing class:
- PnicBondStatus
public static final class PnicBondStatus.Builder extends java.lang.Object
Builder class forPnicBondStatus
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPnicBondStatus
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PnicBondStatus
build()
PnicBondStatus.Builder
setBondPnics(java.util.List<BondPnicStatus> bondPnics)
The list of Pnics when type is BondPnicBondStatus.Builder
setName(java.lang.String name)
Name of the pNIC/bondPnicBondStatus.Builder
setNsxType(java.lang.String nsxType)
Possible values are:PnicBondStatus.NSX_TYPE_UNKNOWN_NSX_TYPE
PnicBondStatus.NSX_TYPE_NSX
PnicBondStatus.NSX_TYPE_NONNSX
Whether to be used by nsxPnicBondStatus.Builder
setStatus(java.lang.String status)
Possible values are:PnicBondStatus.STATUS_UNKNOWN
PnicBondStatus.STATUS_UP
PnicBondStatus.STATUS_DOWN
PnicBondStatus.STATUS_DEGRADED
Status of pNIC/bondPnicBondStatus.Builder
setType(java.lang.String type)
Possible values are:PnicBondStatus.TYPE_UNKNOWN_TYPE
PnicBondStatus.TYPE_PNIC
PnicBondStatus.TYPE_BOND
type, whether the object is a pNIC or a bond
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPnicBondStatus
.
-
-
Method Detail
-
setBondPnics
public PnicBondStatus.Builder setBondPnics(java.util.List<BondPnicStatus> bondPnics)
The list of Pnics when type is Bond- Parameters:
bondPnics
- New value for the property.
-
setName
public PnicBondStatus.Builder setName(java.lang.String name)
Name of the pNIC/bond- Parameters:
name
- New value for the property.
-
setNsxType
public PnicBondStatus.Builder setNsxType(java.lang.String nsxType)
Possible values are: Whether to be used by nsx- Parameters:
nsxType
- New value for the property.
-
setStatus
public PnicBondStatus.Builder setStatus(java.lang.String status)
Possible values are: Status of pNIC/bond- Parameters:
status
- New value for the property.
-
setType
public PnicBondStatus.Builder setType(java.lang.String type)
Possible values are: type, whether the object is a pNIC or a bond- Parameters:
type
- New value for the property.
-
build
public PnicBondStatus build()
-
-