GitHubConnectorProperties Class
- java.
lang. Object - com.
azure. resourcemanager. securitydevops. models. GitHubConnectorProperties
- com.
public final class GitHubConnectorProperties
Properties of the ARM resource for /subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.SecurityDevOps/gitHubConnectors.
Constructor Summary
| Constructor | Description |
|---|---|
| GitHubConnectorProperties() |
Creates an instance of Git |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
code()
Get the code property: Gets or sets one-time OAuth code to exchange for refresh and access tokens. |
|
Provisioning |
provisioningState()
Get the provisioning |
| void |
validate()
Validates the instance. |
|
Git |
withCode(String code)
Set the code property: Gets or sets one-time OAuth code to exchange for refresh and access tokens. |
|
Git |
withProvisioningState(ProvisioningState provisioningState)
Set the provisioning |
Methods inherited from java.lang.Object
Constructor Details
GitHubConnectorProperties
public GitHubConnectorProperties()
Creates an instance of GitHubConnectorProperties class.
Method Details
code
public String code()
Get the code property: Gets or sets one-time OAuth code to exchange for refresh and access tokens.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioningState property.
Returns:
validate
public void validate()
Validates the instance.
withCode
public GitHubConnectorProperties withCode(String code)
Set the code property: Gets or sets one-time OAuth code to exchange for refresh and access tokens.
Parameters:
Returns:
withProvisioningState
public GitHubConnectorProperties withProvisioningState(ProvisioningState provisioningState)
Set the provisioningState property: The provisioningState property.
Parameters:
Returns: