Class IntObjective.Builder
- java.lang.Object
 - 
- org.onosproject.net.behaviour.inbandtelemetry.IntObjective.Builder
 
 
- 
- Enclosing class:
 - IntObjective
 
public static final class IntObjective.Builder extends Object
An IntObjective builder. 
- 
- 
Constructor Summary
Constructors Constructor Description Builder() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntObjectivebuild()Builds the IntObjective.IntObjective.BuilderwithMetadataTypes(Set<IntMetadataType> metadataTypes)Add a metadata type to the IntObjective.IntObjective.BuilderwithSelector(TrafficSelector selector)Assigns a selector to the IntObjective. 
 - 
 
- 
- 
Method Detail
- 
withSelector
public IntObjective.Builder withSelector(TrafficSelector selector)
Assigns a selector to the IntObjective.- Parameters:
 selector- a traffic selector- Returns:
 - an IntObjective builder
 
 
- 
withMetadataTypes
public IntObjective.Builder withMetadataTypes(Set<IntMetadataType> metadataTypes)
Add a metadata type to the IntObjective.- Parameters:
 metadataTypes- a set of metadata types- Returns:
 - an IntObjective builder
 
 
- 
build
public IntObjective build()
Builds the IntObjective.- Returns:
 - an IntObjective
 
 
 - 
 
 -