Package com.vmware.nsx_policy.model
Class ConditionalValueConstraintExpression.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ConditionalValueConstraintExpression.Builder
-
- Enclosing class:
- ConditionalValueConstraintExpression
public static final class ConditionalValueConstraintExpression.Builder extends java.lang.Object
Builder class forConditionalValueConstraintExpression
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofConditionalValueConstraintExpression
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConditionalValueConstraintExpression
build()
ConditionalValueConstraintExpression.Builder
setOperator(java.lang.String operator)
Possible values are:ConditionalValueConstraintExpression.OPERATOR_INCLUDES
ConditionalValueConstraintExpression.OPERATOR_INCLUDES_ANY
ConditionalValueConstraintExpression.OPERATOR_EXCLUDES
ConditionalValueConstraintExpression.OPERATOR_EQUALS
INCLUDES_ANY operator supported only for StringArrayConstraintValueConditionalValueConstraintExpression.Builder
setRhsValue(java.util.List<java.lang.String> rhsValue)
List of values.ConditionalValueConstraintExpression.Builder
setRhsValueWithType(com.vmware.vapi.bindings.Structure rhsValueWithType)
ConditionalValueConstraintExpression.Builder
setValueConstraint(ValueConstraintExpression valueConstraint)
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofConditionalValueConstraintExpression
.
-
-
Method Detail
-
setOperator
public ConditionalValueConstraintExpression.Builder setOperator(java.lang.String operator)
Possible values are: INCLUDES_ANY operator supported only for StringArrayConstraintValue- Parameters:
operator
- New value for the property.
-
setRhsValue
public ConditionalValueConstraintExpression.Builder setRhsValue(java.util.List<java.lang.String> rhsValue)
List of values.- Parameters:
rhsValue
- New value for the property.
-
setRhsValueWithType
public ConditionalValueConstraintExpression.Builder setRhsValueWithType(com.vmware.vapi.bindings.Structure rhsValueWithType)
- Parameters:
rhsValueWithType
- New value for the property. When clients pass a value of this class as a parameter, the property must contain all the properties defined inConstraintValue
. When methods return a value of this class as a return value, the property will contain all the properties defined inConstraintValue
.
-
setValueConstraint
public ConditionalValueConstraintExpression.Builder setValueConstraint(ValueConstraintExpression valueConstraint)
- Parameters:
valueConstraint
- New value for the property.
-
build
public ConditionalValueConstraintExpression build()
-
-