Class LobbyGroupRuntimeDockerPort.Builder
- java.lang.Object
-
- com.rivet.api.resources.cloud.version.matchmaker.lobbygroup.types.LobbyGroupRuntimeDockerPort.Builder
-
- All Implemented Interfaces:
LobbyGroupRuntimeDockerPort._FinalStage,LobbyGroupRuntimeDockerPort.LabelStage,LobbyGroupRuntimeDockerPort.ProxyProtocolStage
- Enclosing class:
- LobbyGroupRuntimeDockerPort
public static final class LobbyGroupRuntimeDockerPort.Builder extends java.lang.Object implements LobbyGroupRuntimeDockerPort.LabelStage, LobbyGroupRuntimeDockerPort.ProxyProtocolStage, LobbyGroupRuntimeDockerPort._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LobbyGroupRuntimeDockerPortbuild()LobbyGroupRuntimeDockerPort.Builderfrom(LobbyGroupRuntimeDockerPort other)LobbyGroupRuntimeDockerPort.ProxyProtocolStagelabel(java.lang.String label)The label of this docker port.LobbyGroupRuntimeDockerPort._FinalStageportRange(PortRange portRange)LobbyGroupRuntimeDockerPort._FinalStageportRange(java.util.Optional<PortRange> portRange)LobbyGroupRuntimeDockerPort._FinalStageproxyProtocol(PortProtocol proxyProtocol)LobbyGroupRuntimeDockerPort._FinalStagetargetPort(java.lang.Integer targetPort)The port number to connect to.LobbyGroupRuntimeDockerPort._FinalStagetargetPort(java.util.Optional<java.lang.Integer> targetPort)
-
-
-
Method Detail
-
from
public LobbyGroupRuntimeDockerPort.Builder from(LobbyGroupRuntimeDockerPort other)
- Specified by:
fromin interfaceLobbyGroupRuntimeDockerPort.LabelStage
-
label
public LobbyGroupRuntimeDockerPort.ProxyProtocolStage label(java.lang.String label)
The label of this docker port.
- Specified by:
labelin interfaceLobbyGroupRuntimeDockerPort.LabelStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
proxyProtocol
public LobbyGroupRuntimeDockerPort._FinalStage proxyProtocol(PortProtocol proxyProtocol)
- Specified by:
proxyProtocolin interfaceLobbyGroupRuntimeDockerPort.ProxyProtocolStage
-
portRange
public LobbyGroupRuntimeDockerPort._FinalStage portRange(PortRange portRange)
- Specified by:
portRangein interfaceLobbyGroupRuntimeDockerPort._FinalStage
-
portRange
public LobbyGroupRuntimeDockerPort._FinalStage portRange(java.util.Optional<PortRange> portRange)
- Specified by:
portRangein interfaceLobbyGroupRuntimeDockerPort._FinalStage
-
targetPort
public LobbyGroupRuntimeDockerPort._FinalStage targetPort(java.lang.Integer targetPort)
The port number to connect to.
- Specified by:
targetPortin interfaceLobbyGroupRuntimeDockerPort._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
targetPort
public LobbyGroupRuntimeDockerPort._FinalStage targetPort(java.util.Optional<java.lang.Integer> targetPort)
- Specified by:
targetPortin interfaceLobbyGroupRuntimeDockerPort._FinalStage
-
build
public LobbyGroupRuntimeDockerPort build()
- Specified by:
buildin interfaceLobbyGroupRuntimeDockerPort._FinalStage
-
-