public static final class CommunityMatchOperation.Builder
extends java.lang.Object
CommunityMatchOperation.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
CommunityMatchOperation. |
| Modifier and Type | Method and Description |
|---|---|
CommunityMatchOperation |
build() |
CommunityMatchOperation.Builder |
setCommunityListId(java.lang.String communityListId)
ID of BGP community list.
|
CommunityMatchOperation.Builder |
setMatchOperator(java.lang.String matchOperator)
Possible values are:
CommunityMatchOperation.MATCH_OPERATOR_ANY
CommunityMatchOperation.MATCH_OPERATOR_ALL
CommunityMatchOperation.MATCH_OPERATOR_EXACT
CommunityMatchOperation.MATCH_OPERATOR_NONE
CommunityMatchOperation.MATCH_OPERATOR_REGEX
CommunityMatchOperation.MATCH_OPERATOR_LARGE_COMMUNITY_REGEX
Match operator for communities from provided community list id. |
CommunityMatchOperation.Builder |
setRegularExpression(java.lang.String regularExpression)
Regular expression to match BGP communities.
|
public Builder()
CommunityMatchOperation.public CommunityMatchOperation.Builder setCommunityListId(java.lang.String communityListId)
communityListId - New value for the property.public CommunityMatchOperation.Builder setMatchOperator(java.lang.String matchOperator)
matchOperator - New value for the property.public CommunityMatchOperation.Builder setRegularExpression(java.lang.String regularExpression)
regularExpression - New value for the property.public CommunityMatchOperation build()