SourceUpdateParameters Class

  • java.lang.Object
    • com.microsoft.azure.management.containerregistry.SourceUpdateParameters

public class SourceUpdateParameters

The properties for updating the source code repository.

Constructor Summary

Constructor Description
SourceUpdateParameters()

Method Summary

Modifier and Type Method and Description
java.lang.String branch()

Get the branch name of the source code.

java.lang.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.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

SourceUpdateParameters

public SourceUpdateParameters()

Method Details

branch

public String branch()

Get the branch name of the source code.

Returns:

the branch value

repositoryUrl

public String repositoryUrl()

Get the full URL to the source code respository.

Returns:

the repositoryUrl value

sourceControlAuthProperties

public AuthInfoUpdateParameters sourceControlAuthProperties()

Get the authorization properties for accessing the source code repository and to set up webhooks for notifications.

Returns:

the sourceControlAuthProperties value

sourceControlType

public SourceControlType sourceControlType()

Get the type of source control service. Possible values include: 'Github', 'VisualStudioTeamService'.

Returns:

the sourceControlType value

withBranch

public SourceUpdateParameters withBranch(String branch)

Set the branch name of the source code.

Parameters:

branch - the branch value to set

Returns:

the SourceUpdateParameters object itself.

withRepositoryUrl

public SourceUpdateParameters withRepositoryUrl(String repositoryUrl)

Set the full URL to the source code respository.

Parameters:

repositoryUrl - the repositoryUrl value to set

Returns:

the SourceUpdateParameters object itself.

withSourceControlAuthProperties

public SourceUpdateParameters withSourceControlAuthProperties(AuthInfoUpdateParameters sourceControlAuthProperties)

Set the authorization properties for accessing the source code repository and to set up webhooks for notifications.

Parameters:

sourceControlAuthProperties - the sourceControlAuthProperties value to set

Returns:

the SourceUpdateParameters object itself.

withSourceControlType

public SourceUpdateParameters withSourceControlType(SourceControlType sourceControlType)

Set the type of source control service. Possible values include: 'Github', 'VisualStudioTeamService'.

Parameters:

sourceControlType - the sourceControlType value to set

Returns:

the SourceUpdateParameters object itself.

Applies to