Interface FlowClassifierBuilder
-
- All Superinterfaces:
Buildable.Builder<FlowClassifierBuilder,FlowClassifier>
- All Known Implementing Classes:
NeutronFlowClassifier.FlowClassifierConcreteBuilder
public interface FlowClassifierBuilder extends Buildable.Builder<FlowClassifierBuilder,FlowClassifier>
A builder to create a flow classifier- Author:
- Dmitry Gerenrot
-
-
Method Summary
-
Methods inherited from interface org.openstack4j.common.Buildable.Builder
build, from
-
-
-
-
Method Detail
-
id
FlowClassifierBuilder id(String id)
- Parameters:
id- : Flow Classifier identifer- Returns:
- FlowClassifierBuilder
-
name
FlowClassifierBuilder name(String name)
- Parameters:
name- : Human readable name for the flow classifier- Returns:
- FlowClassifierBuilder
-
projectId
FlowClassifierBuilder projectId(String projectId)
- Parameters:
projectId- : Project (tenant) identifier- Returns:
- FlowClassifierBuilder
-
description
FlowClassifierBuilder description(String description)
- Parameters:
description- : Human readable description for the flow classifier- Returns:
- FlowClassifierBuilder
-
protocol
FlowClassifierBuilder protocol(String protocol)
- Parameters:
protocol- : Short name for the protocol (TCP, UDP, etc)- Returns:
- FlowClassifierBuilder
-
sourcePortRangeMin
FlowClassifierBuilder sourcePortRangeMin(Integer sourcePortRangeMin)
- Parameters:
sourcePortRangeMin- : Minimum value for the source port, converted to String- Returns:
- FlowClassifierBuilder
-
sourcePortRangeMax
FlowClassifierBuilder sourcePortRangeMax(Integer sourcePortRangeMax)
- Parameters:
sourcePortRangeMax- : Maximum value for the source port, converted to String- Returns:
- FlowClassifierBuilder
-
destinationPortRangeMin
FlowClassifierBuilder destinationPortRangeMin(Integer destinationPortRangeMin)
- Parameters:
destinationPortRangeMin- : Minimum value for the destination port, converted to String- Returns:
- FlowClassifierBuilder
-
destinationPortRangeMax
FlowClassifierBuilder destinationPortRangeMax(Integer destinationPortRangeMax)
- Parameters:
destinationPortRangeMax- : Maximum value for the destination port, converted to String- Returns:
- FlowClassifierBuilder
-
sourceIpPrefix
FlowClassifierBuilder sourceIpPrefix(String sourceIpPrefix)
- Returns:
- FlowClassifierBuilder
-
destinationIpPrefix
FlowClassifierBuilder destinationIpPrefix(String destinationIpPrefix)
- Returns:
- FlowClassifierBuilder
-
logicalSourcePort
FlowClassifierBuilder logicalSourcePort(String logicalSourcePort)
- Returns:
- FlowClassifierBuilder
-
logicalDestinationPort
FlowClassifierBuilder logicalDestinationPort(String logicalDestinationPort)
- Returns:
- FlowClassifierBuilder
-
l7Parameters
FlowClassifierBuilder l7Parameters(Map<String,String> l7Parameters)
- Returns:
- FlowClassifierBuilder
-
ethertype
FlowClassifierBuilder ethertype(Ethertype ethertype)
- Returns:
- FlowClassifierBuilder
-
-