Class JoinPortRange.Builder
- java.lang.Object
-
- com.rivet.api.resources.matchmaker.common.types.JoinPortRange.Builder
-
- All Implemented Interfaces:
JoinPortRange._FinalStage,JoinPortRange.MaxStage,JoinPortRange.MinStage
- Enclosing class:
- JoinPortRange
public static final class JoinPortRange.Builder extends java.lang.Object implements JoinPortRange.MinStage, JoinPortRange.MaxStage, JoinPortRange._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JoinPortRangebuild()JoinPortRange.Builderfrom(JoinPortRange other)JoinPortRange._FinalStagemax(int max)Maximum port that can be connected to.JoinPortRange.MaxStagemin(int min)Minimum port that can be connected to.
-
-
-
Method Detail
-
from
public JoinPortRange.Builder from(JoinPortRange other)
- Specified by:
fromin interfaceJoinPortRange.MinStage
-
min
public JoinPortRange.MaxStage min(int min)
Minimum port that can be connected to. Inclusive range.
- Specified by:
minin interfaceJoinPortRange.MinStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
max
public JoinPortRange._FinalStage max(int max)
Maximum port that can be connected to. Inclusive range.
- Specified by:
maxin interfaceJoinPortRange.MaxStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public JoinPortRange build()
- Specified by:
buildin interfaceJoinPortRange._FinalStage
-
-