Class CloudSessionOptions

java.lang.Object
com.github.copilot.rpc.CloudSessionOptions

public class CloudSessionOptions extends Object
Options for creating a remote session in the cloud.
Since:
1.5.0
  • Constructor Details

    • CloudSessionOptions

      public CloudSessionOptions()
  • Method Details

    • getRepository

      public CloudSessionRepository getRepository()
      Gets the optional GitHub repository metadata to associate with the cloud session.
      Returns:
      the repository metadata, or null if not set
    • setRepository

      public CloudSessionOptions setRepository(CloudSessionRepository repository)
      Sets the optional GitHub repository metadata to associate with the cloud session.
      Parameters:
      repository - the repository metadata
      Returns:
      this instance for method chaining