Package com.vmware.nsx_policy.model
Class UnaryOperation.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.UnaryOperation.Builder
-
- Enclosing class:
- UnaryOperation
public static final class UnaryOperation.Builder extends java.lang.Object
Builder class forUnaryOperation
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofUnaryOperation
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnaryOperation
build()
UnaryOperation.Builder
setOperand(ResourceFieldPointer operand)
UnaryOperation.Builder
setOperator(java.lang.String operator)
Possible values are:UnaryOperation.OPERATOR_APPEND
UnaryOperation.OPERATOR_SUBTRACT
Logical Operator describing the operation to apply to the operand.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofUnaryOperation
.
-
-
Method Detail
-
setOperand
public UnaryOperation.Builder setOperand(ResourceFieldPointer operand)
- Parameters:
operand
- New value for the property.
-
setOperator
public UnaryOperation.Builder setOperator(java.lang.String operator)
Possible values are: Logical Operator describing the operation to apply to the operand.- Parameters:
operator
- New value for the property.
-
build
public UnaryOperation build()
-
-