public class SourceUpdateParameters extends Object
| Constructor | Description |
|---|---|
SourceUpdateParameters() |
| Modifier and Type | Method | Description |
|---|---|---|
String |
branch() |
Get the branch name of the source code.
|
String |
repositoryUrl() |
Get the full URL to the source code respository.
|
AuthInfoUpdateParameters |
sourceControlAuthProperties() |
Get the authorization properties for accessing the source code repository and to set up
webhooks for notifications.
|
SourceControlType |
sourceControlType() |
Get the type of source control service.
|
SourceUpdateParameters |
withBranch(String branch) |
Set the branch name of the source code.
|
SourceUpdateParameters |
withRepositoryUrl(String repositoryUrl) |
Set the full URL to the source code respository.
|
SourceUpdateParameters |
withSourceControlAuthProperties(AuthInfoUpdateParameters sourceControlAuthProperties) |
Set the authorization properties for accessing the source code repository and to set up
webhooks for notifications.
|
SourceUpdateParameters |
withSourceControlType(SourceControlType sourceControlType) |
Set the type of source control service.
|
public SourceControlType sourceControlType()
public SourceUpdateParameters withSourceControlType(SourceControlType sourceControlType)
sourceControlType - the sourceControlType value to setpublic String repositoryUrl()
public SourceUpdateParameters withRepositoryUrl(String repositoryUrl)
repositoryUrl - the repositoryUrl value to setpublic String branch()
public SourceUpdateParameters withBranch(String branch)
branch - the branch value to setpublic AuthInfoUpdateParameters sourceControlAuthProperties()
public SourceUpdateParameters withSourceControlAuthProperties(AuthInfoUpdateParameters sourceControlAuthProperties)
sourceControlAuthProperties - the sourceControlAuthProperties value to set /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/