Record Class HostGitHubEnvironmentOptions
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.HostGitHubEnvironmentOptions
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record HostGitHubEnvironmentOptions(String name, String computeId, Boolean requireConnectionBinding)
extends Record
GitHub Mission Control registration options. The compute ID is application-owned and stable.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionHostGitHubEnvironmentOptions(String name, String computeId) Creates environment options using the default connection-binding policy.HostGitHubEnvironmentOptions(String name, String computeId, Boolean requireConnectionBinding) Creates an instance of aHostGitHubEnvironmentOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecomputeIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.Returns the value of therequireConnectionBindingrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HostGitHubEnvironmentOptions
-
HostGitHubEnvironmentOptions
public HostGitHubEnvironmentOptions(String name, String computeId, Boolean requireConnectionBinding) Creates an instance of aHostGitHubEnvironmentOptionsrecord class.- Parameters:
name- the value for thenamerecord componentcomputeId- the value for thecomputeIdrecord componentrequireConnectionBinding- the value for therequireConnectionBindingrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
computeId
Returns the value of thecomputeIdrecord component.- Returns:
- the value of the
computeIdrecord component
-
requireConnectionBinding
Returns the value of therequireConnectionBindingrecord component.- Returns:
- the value of the
requireConnectionBindingrecord component
-