GitHubConnectorProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.securitydevops.models.GitHubConnectorProperties

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 GitHubConnectorProperties class.

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.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioningState property.

void validate()

Validates the instance.

GitHubConnectorProperties withCode(String code)

Set the code property: Gets or sets one-time OAuth code to exchange for refresh and access tokens.

GitHubConnectorProperties withProvisioningState(ProvisioningState provisioningState)

Set the provisioningState property: The provisioningState property.

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:

the code value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioningState property.

Returns:

the provisioningState value.

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:

code - the code value to set.

Returns:

the GitHubConnectorProperties object itself.

withProvisioningState

public GitHubConnectorProperties withProvisioningState(ProvisioningState provisioningState)

Set the provisioningState property: The provisioningState property.

Parameters:

provisioningState - the provisioningState value to set.

Returns:

the GitHubConnectorProperties object itself.

Applies to