Class NeutronFlowClassifier.FlowClassifierConcreteBuilder
- java.lang.Object
-
- org.openstack4j.openstack.networking.domain.ext.NeutronFlowClassifier.FlowClassifierConcreteBuilder
-
- All Implemented Interfaces:
Buildable.Builder<FlowClassifierBuilder,FlowClassifier>
,FlowClassifierBuilder
- Enclosing class:
- NeutronFlowClassifier
public static class NeutronFlowClassifier.FlowClassifierConcreteBuilder extends Object implements FlowClassifierBuilder
-
-
Constructor Summary
Constructors Constructor Description FlowClassifierConcreteBuilder()
FlowClassifierConcreteBuilder(NeutronFlowClassifier m)
-
Method Summary
-
-
-
Constructor Detail
-
FlowClassifierConcreteBuilder
public FlowClassifierConcreteBuilder()
-
FlowClassifierConcreteBuilder
public FlowClassifierConcreteBuilder(NeutronFlowClassifier m)
-
-
Method Detail
-
id
public FlowClassifierBuilder id(String id)
- Specified by:
id
in interfaceFlowClassifierBuilder
- Parameters:
id
- : Flow Classifier identifer- Returns:
- FlowClassifierBuilder
-
name
public FlowClassifierBuilder name(String name)
- Specified by:
name
in interfaceFlowClassifierBuilder
- Parameters:
name
- : Human readable name for the flow classifier- Returns:
- FlowClassifierBuilder
-
projectId
public FlowClassifierBuilder projectId(String projectId)
- Specified by:
projectId
in interfaceFlowClassifierBuilder
- Parameters:
projectId
- : Project (tenant) identifier- Returns:
- FlowClassifierBuilder
-
description
public FlowClassifierBuilder description(String description)
- Specified by:
description
in interfaceFlowClassifierBuilder
- Parameters:
description
- : Human readable description for the flow classifier- Returns:
- FlowClassifierBuilder
-
protocol
public FlowClassifierBuilder protocol(String protocol)
- Specified by:
protocol
in interfaceFlowClassifierBuilder
- Parameters:
protocol
- : Short name for the protocol (TCP, UDP, etc)- Returns:
- FlowClassifierBuilder
-
sourcePortRangeMin
public FlowClassifierBuilder sourcePortRangeMin(Integer sourcePortRangeMin)
- Specified by:
sourcePortRangeMin
in interfaceFlowClassifierBuilder
- Parameters:
sourcePortRangeMin
- : Minimum value for the source port, converted to String- Returns:
- FlowClassifierBuilder
-
sourcePortRangeMax
public FlowClassifierBuilder sourcePortRangeMax(Integer sourcePortRangeMax)
- Specified by:
sourcePortRangeMax
in interfaceFlowClassifierBuilder
- Parameters:
sourcePortRangeMax
- : Maximum value for the source port, converted to String- Returns:
- FlowClassifierBuilder
-
destinationPortRangeMin
public FlowClassifierBuilder destinationPortRangeMin(Integer destinationPortRangeMin)
- Specified by:
destinationPortRangeMin
in interfaceFlowClassifierBuilder
- Parameters:
destinationPortRangeMin
- : Minimum value for the destination port, converted to String- Returns:
- FlowClassifierBuilder
-
destinationPortRangeMax
public FlowClassifierBuilder destinationPortRangeMax(Integer destinationPortRangeMax)
- Specified by:
destinationPortRangeMax
in interfaceFlowClassifierBuilder
- Parameters:
destinationPortRangeMax
- : Maximum value for the destination port, converted to String- Returns:
- FlowClassifierBuilder
-
sourceIpPrefix
public FlowClassifierBuilder sourceIpPrefix(String sourceIpPrefix)
- Specified by:
sourceIpPrefix
in interfaceFlowClassifierBuilder
- Returns:
- FlowClassifierBuilder
-
destinationIpPrefix
public FlowClassifierBuilder destinationIpPrefix(String destinationIpPrefix)
- Specified by:
destinationIpPrefix
in interfaceFlowClassifierBuilder
- Returns:
- FlowClassifierBuilder
-
logicalSourcePort
public FlowClassifierBuilder logicalSourcePort(String logicalSourcePort)
- Specified by:
logicalSourcePort
in interfaceFlowClassifierBuilder
- Returns:
- FlowClassifierBuilder
-
logicalDestinationPort
public FlowClassifierBuilder logicalDestinationPort(String logicalDestinationPort)
- Specified by:
logicalDestinationPort
in interfaceFlowClassifierBuilder
- Returns:
- FlowClassifierBuilder
-
l7Parameters
public FlowClassifierBuilder l7Parameters(Map<String,String> l7Parameters)
- Specified by:
l7Parameters
in interfaceFlowClassifierBuilder
- Returns:
- FlowClassifierBuilder
-
ethertype
public FlowClassifierBuilder ethertype(Ethertype ethertype)
- Specified by:
ethertype
in interfaceFlowClassifierBuilder
- Returns:
- FlowClassifierBuilder
-
build
public FlowClassifier build()
Description copied from interface:Buildable.Builder
Creates and return the Model Entity M- Specified by:
build
in interfaceBuildable.Builder<FlowClassifierBuilder,FlowClassifier>
- Returns:
- M instance
-
from
public FlowClassifierBuilder from(FlowClassifier in)
Description copied from interface:Buildable.Builder
Creates a Builder using the param M as the default values- Specified by:
from
in interfaceBuildable.Builder<FlowClassifierBuilder,FlowClassifier>
- Returns:
- Builder
-
-