Package com.vmware.nsx_policy.model
Class SourceFieldEvaluation.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.SourceFieldEvaluation.Builder
-
- Enclosing class:
- SourceFieldEvaluation
public static final class SourceFieldEvaluation.Builder extends java.lang.Object
Builder class forSourceFieldEvaluation
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofSourceFieldEvaluation
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SourceFieldEvaluation
build()
SourceFieldEvaluation.Builder
setExpected(java.util.List<java.lang.String> expected)
Expected values necessary to apply the specified operation on the source field value.SourceFieldEvaluation.Builder
setFieldPointer(java.lang.String fieldPointer)
Field in the form of a pointer, describing the location of the attribute within the source of the event.SourceFieldEvaluation.Builder
setOperator(java.lang.String operator)
Possible values are:SourceFieldEvaluation.OPERATOR_EQ
SourceFieldEvaluation.OPERATOR_NOT_EQ
Logical operator.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofSourceFieldEvaluation
.
-
-
Method Detail
-
setExpected
public SourceFieldEvaluation.Builder setExpected(java.util.List<java.lang.String> expected)
Expected values necessary to apply the specified operation on the source field value.- Parameters:
expected
- New value for the property.
-
setFieldPointer
public SourceFieldEvaluation.Builder setFieldPointer(java.lang.String fieldPointer)
Field in the form of a pointer, describing the location of the attribute within the source of the event.- Parameters:
fieldPointer
- New value for the property.
-
setOperator
public SourceFieldEvaluation.Builder setOperator(java.lang.String operator)
Possible values are: Logical operator.- Parameters:
operator
- New value for the property.
-
build
public SourceFieldEvaluation build()
-
-