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.ObjectBuilder 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 PnicBondStatusbuild()PnicBondStatus.BuildersetBondPnics(java.util.List<BondPnicStatus> bondPnics)The list of Pnics when type is BondPnicBondStatus.BuildersetName(java.lang.String name)Name of the pNIC/bondPnicBondStatus.BuildersetNsxType(java.lang.String nsxType)Possible values are:PnicBondStatus.NSX_TYPE_UNKNOWN_NSX_TYPEPnicBondStatus.NSX_TYPE_NSXPnicBondStatus.NSX_TYPE_NONNSXWhether to be used by nsxPnicBondStatus.BuildersetStatus(java.lang.String status)Possible values are:PnicBondStatus.STATUS_UNKNOWNPnicBondStatus.STATUS_UPPnicBondStatus.STATUS_DOWNPnicBondStatus.STATUS_DEGRADEDStatus of pNIC/bondPnicBondStatus.BuildersetType(java.lang.String type)Possible values are:PnicBondStatus.TYPE_UNKNOWN_TYPEPnicBondStatus.TYPE_PNICPnicBondStatus.TYPE_BONDtype, 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()
-
-