Class HostStartRequest
java.lang.Object
com.github.copilot.generated.rpc.HostStartRequest
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public final class HostStartRequest
extends Object
Starts a supervised AHP host with at least one explicitly selected transport.
Required inputs are constructor arguments. Optional inputs have fluent setters.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns thecomputeIdproperty.Returns thegithubEnvironmentproperty.Returns thehostIdproperty.Returns thelocalServerproperty.Returns theresumeFactoryproperty.Returns thesessionFactoryproperty.setComputeId(String value) Sets thecomputeIdproperty.Sets thegithubEnvironmentproperty.Sets thelocalServerproperty.setResumeFactory(Boolean value) Sets theresumeFactoryproperty.setSessionFactory(Boolean value) Sets thesessionFactoryproperty.
-
Constructor Details
-
HostStartRequest
Creates a request with its required inputs.- Parameters:
hostId- Caller-generated UUID identifying this connection-owned listener.
-
-
Method Details
-
getHostId
Returns thehostIdproperty.- Returns:
- Caller-generated UUID identifying this connection-owned listener.
-
getLocalServer
Returns thelocalServerproperty.- Returns:
- Enables a local WebSocket listener.
-
getGitHubEnvironment
Returns thegithubEnvironmentproperty.- Returns:
- Registers a GitHub Mission Control environment and enables its relay transport.
-
getSessionFactory
Returns thesessionFactoryproperty.- Returns:
- Ask the owning SDK application to materialize AHP sessions.
-
getResumeFactory
Returns theresumeFactoryproperty.- Returns:
- Ask the owning application to resume its durable AHP sessions.
-
getComputeId
Returns thecomputeIdproperty.- Returns:
- Stable application identity selecting its durable host catalog. Defaults to the persisted runtime compute GUID; must agree with githubEnvironment.computeId when both are supplied.
-
setLocalServer
Sets thelocalServerproperty.- Parameters:
value- Enables a local WebSocket listener.- Returns:
- this request
-
setGitHubEnvironment
Sets thegithubEnvironmentproperty.- Parameters:
value- Registers a GitHub Mission Control environment and enables its relay transport.- Returns:
- this request
-
setSessionFactory
Sets thesessionFactoryproperty.- Parameters:
value- Ask the owning SDK application to materialize AHP sessions.- Returns:
- this request
-
setResumeFactory
Sets theresumeFactoryproperty.- Parameters:
value- Ask the owning application to resume its durable AHP sessions.- Returns:
- this request
-
setComputeId
Sets thecomputeIdproperty.- Parameters:
value- Stable application identity selecting its durable host catalog. Defaults to the persisted runtime compute GUID; must agree with githubEnvironment.computeId when both are supplied.- Returns:
- this request
-