Class RuleDTOBuilder
- java.lang.Object
-
- org.opennms.netmgt.flows.rest.classification.RuleDTOBuilder
-
public class RuleDTOBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description RuleDTOBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuleDTO
build()
RuleDTOBuilder
withDstAddress(String dstAddress)
RuleDTOBuilder
withDstPort(String dstPort)
RuleDTOBuilder
withExporterFilter(String exporterFilter)
RuleDTOBuilder
withGroup(GroupDTO group)
RuleDTOBuilder
withName(String name)
RuleDTOBuilder
withOmnidirectional(boolean omnidirectional)
RuleDTOBuilder
withPosition(int position)
RuleDTOBuilder
withProtocol(String protocol)
RuleDTOBuilder
withSrcAddress(String srcAddress)
RuleDTOBuilder
withSrcPort(String srcPort)
-
-
-
Method Detail
-
withName
public RuleDTOBuilder withName(String name)
-
withProtocol
public RuleDTOBuilder withProtocol(String protocol)
-
withDstPort
public RuleDTOBuilder withDstPort(String dstPort)
-
withDstAddress
public RuleDTOBuilder withDstAddress(String dstAddress)
-
withSrcPort
public RuleDTOBuilder withSrcPort(String srcPort)
-
withSrcAddress
public RuleDTOBuilder withSrcAddress(String srcAddress)
-
withExporterFilter
public RuleDTOBuilder withExporterFilter(String exporterFilter)
-
withOmnidirectional
public RuleDTOBuilder withOmnidirectional(boolean omnidirectional)
-
withPosition
public RuleDTOBuilder withPosition(int position)
-
withGroup
public RuleDTOBuilder withGroup(GroupDTO group)
-
build
public RuleDTO build()
-
-