Package com.vmware.nsx_policy.model
Class BondPnicStatus.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.BondPnicStatus.Builder
-
- Enclosing class:
- BondPnicStatus
public static final class BondPnicStatus.Builder extends java.lang.Object
Builder class forBondPnicStatus
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofBondPnicStatus
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BondPnicStatus
build()
BondPnicStatus.Builder
setName(java.lang.String name)
Name of the pNIC/bondBondPnicStatus.Builder
setStatus(java.lang.String status)
Possible values are:BondPnicStatus.STATUS_UNKNOWN
BondPnicStatus.STATUS_UP
BondPnicStatus.STATUS_DOWN
BondPnicStatus.STATUS_DEGRADED
Status of pNIC/bondBondPnicStatus.Builder
setType(java.lang.String type)
Possible values are:BondPnicStatus.TYPE_UNKNOWN_TYPE
BondPnicStatus.TYPE_PNIC
BondPnicStatus.TYPE_BOND
Type, whether the object is a pNIC or a bond
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofBondPnicStatus
.
-
-
Method Detail
-
setName
public BondPnicStatus.Builder setName(java.lang.String name)
Name of the pNIC/bond- Parameters:
name
- New value for the property.
-
setStatus
public BondPnicStatus.Builder setStatus(java.lang.String status)
Possible values are: Status of pNIC/bond- Parameters:
status
- New value for the property.
-
setType
public BondPnicStatus.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 BondPnicStatus build()
-
-