Class GitHubConnectorProperties
java.lang.Object
com.azure.resourcemanager.securitydevops.models.GitHubConnectorProperties
Properties of the ARM resource for
/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.SecurityDevOps/gitHubConnectors.
-
Constructor Summary
ConstructorDescriptionCreates an instance of GitHubConnectorProperties class. -
Method Summary
Modifier and TypeMethodDescriptioncode()
Get the code property: Gets or sets one-time OAuth code to exchange for refresh and access tokens.Get the provisioningState property: The provisioningState property.void
validate()
Validates the instance.Set the code property: Gets or sets one-time OAuth code to exchange for refresh and access tokens.withProvisioningState
(ProvisioningState provisioningState) Set the provisioningState property: The provisioningState property.
-
Constructor Details
-
GitHubConnectorProperties
public GitHubConnectorProperties()Creates an instance of GitHubConnectorProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: The provisioningState property.- Returns:
- the provisioningState value.
-
withProvisioningState
Set the provisioningState property: The provisioningState property.- Parameters:
provisioningState
- the provisioningState value to set.- Returns:
- the GitHubConnectorProperties object itself.
-
code
Get the code property: Gets or sets one-time OAuth code to exchange for refresh and access tokens.- Returns:
- the code value.
-
withCode
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-