public class SourceUpdateParameters extends Object
Constructor and Description |
---|
SourceUpdateParameters() |
Modifier and Type | Method and 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 setCopyright © 2019. All rights reserved.