Share via


GitHubRepoProperties Class

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

public final class GitHubRepoProperties

GitHub Repo properties.

Constructor Summary

Constructor Description
GitHubRepoProperties()

Creates an instance of GitHubRepoProperties class.

Method Summary

Modifier and Type Method and Description
Long accountId()

Get the accountId property: Gets or sets gitHub repo account id.

String ownerName()

Get the ownerName property: Gets or sets GitHub Owner Name.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioningState property.

String repoUrl()

Get the repoUrl property: Gets or sets gitHub repo url.

void validate()

Validates the instance.

GitHubRepoProperties withAccountId(Long accountId)

Set the accountId property: Gets or sets gitHub repo account id.

GitHubRepoProperties withOwnerName(String ownerName)

Set the ownerName property: Gets or sets GitHub Owner Name.

GitHubRepoProperties withProvisioningState(ProvisioningState provisioningState)

Set the provisioningState property: The provisioningState property.

GitHubRepoProperties withRepoUrl(String repoUrl)

Set the repoUrl property: Gets or sets gitHub repo url.

Methods inherited from java.lang.Object

Constructor Details

GitHubRepoProperties

public GitHubRepoProperties()

Creates an instance of GitHubRepoProperties class.

Method Details

accountId

public Long accountId()

Get the accountId property: Gets or sets gitHub repo account id.

Returns:

the accountId value.

ownerName

public String ownerName()

Get the ownerName property: Gets or sets GitHub Owner Name.

Returns:

the ownerName value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioningState property.

Returns:

the provisioningState value.

repoUrl

public String repoUrl()

Get the repoUrl property: Gets or sets gitHub repo url.

Returns:

the repoUrl value.

validate

public void validate()

Validates the instance.

withAccountId

public GitHubRepoProperties withAccountId(Long accountId)

Set the accountId property: Gets or sets gitHub repo account id.

Parameters:

accountId - the accountId value to set.

Returns:

the GitHubRepoProperties object itself.

withOwnerName

public GitHubRepoProperties withOwnerName(String ownerName)

Set the ownerName property: Gets or sets GitHub Owner Name.

Parameters:

ownerName - the ownerName value to set.

Returns:

the GitHubRepoProperties object itself.

withProvisioningState

public GitHubRepoProperties withProvisioningState(ProvisioningState provisioningState)

Set the provisioningState property: The provisioningState property.

Parameters:

provisioningState - the provisioningState value to set.

Returns:

the GitHubRepoProperties object itself.

withRepoUrl

public GitHubRepoProperties withRepoUrl(String repoUrl)

Set the repoUrl property: Gets or sets gitHub repo url.

Parameters:

repoUrl - the repoUrl value to set.

Returns:

the GitHubRepoProperties object itself.

Applies to