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