Package com.vmware.nsx_policy.model
Class CommunityMatchCriteria.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.CommunityMatchCriteria.Builder
-
- Enclosing class:
- CommunityMatchCriteria
public static final class CommunityMatchCriteria.Builder extends java.lang.Object
Builder class forCommunityMatchCriteria
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofCommunityMatchCriteria
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommunityMatchCriteria
build()
CommunityMatchCriteria.Builder
setCriteria(java.lang.String criteria)
Match criteria specified as a community list path or a regular expression.CommunityMatchCriteria.Builder
setMatchOperator(java.lang.String matchOperator)
Possible values are:CommunityMatchCriteria.MATCH_OPERATOR_ANY
CommunityMatchCriteria.MATCH_OPERATOR_ALL
CommunityMatchCriteria.MATCH_OPERATOR_EXACT
CommunityMatchCriteria.MATCH_OPERATOR_COMMUNITY_REGEX
CommunityMatchCriteria.MATCH_OPERATOR_LARGE_COMMUNITY_REGEX
Match operator for community list entries.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofCommunityMatchCriteria
.
-
-
Method Detail
-
setCriteria
public CommunityMatchCriteria.Builder setCriteria(java.lang.String criteria)
Match criteria specified as a community list path or a regular expression.- Parameters:
criteria
- New value for the property.
-
setMatchOperator
public CommunityMatchCriteria.Builder setMatchOperator(java.lang.String matchOperator)
Possible values are: Match operator for community list entries. Not valid when a regular expression is specified for criteria.- Parameters:
matchOperator
- New value for the property.
-
build
public CommunityMatchCriteria build()
-
-