AcceleratorGitRepository Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.AcceleratorGitRepository

public final class AcceleratorGitRepository

The AcceleratorGitRepository model.

Constructor Summary

Constructor Description
AcceleratorGitRepository()

Creates an instance of AcceleratorGitRepository class.

Method Summary

Modifier and Type Method and Description
AcceleratorAuthSetting authSetting()

Get the authSetting property: Properties of the auth setting payload.

String branch()

Get the branch property: Git repository branch to be used.

String commit()

Get the commit property: Git repository commit to be used.

String gitTag()

Get the gitTag property: Git repository tag to be used.

Integer intervalInSeconds()

Get the intervalInSeconds property: Interval for checking for updates to Git or image repository.

String subPath()

Get the subPath property: Folder path inside the git repository to consider as the root of the accelerator or fragment.

String url()

Get the url property: Git repository URL for the accelerator.

void validate()

Validates the instance.

AcceleratorGitRepository withAuthSetting(AcceleratorAuthSetting authSetting)

Set the authSetting property: Properties of the auth setting payload.

AcceleratorGitRepository withBranch(String branch)

Set the branch property: Git repository branch to be used.

AcceleratorGitRepository withCommit(String commit)

Set the commit property: Git repository commit to be used.

AcceleratorGitRepository withGitTag(String gitTag)

Set the gitTag property: Git repository tag to be used.

AcceleratorGitRepository withIntervalInSeconds(Integer intervalInSeconds)

Set the intervalInSeconds property: Interval for checking for updates to Git or image repository.

AcceleratorGitRepository withSubPath(String subPath)

Set the subPath property: Folder path inside the git repository to consider as the root of the accelerator or fragment.

AcceleratorGitRepository withUrl(String url)

Set the url property: Git repository URL for the accelerator.

Methods inherited from java.lang.Object

Constructor Details

AcceleratorGitRepository

public AcceleratorGitRepository()

Creates an instance of AcceleratorGitRepository class.

Method Details

authSetting

public AcceleratorAuthSetting authSetting()

Get the authSetting property: Properties of the auth setting payload.

Returns:

the authSetting value.

branch

public String branch()

Get the branch property: Git repository branch to be used.

Returns:

the branch value.

commit

public String commit()

Get the commit property: Git repository commit to be used.

Returns:

the commit value.

gitTag

public String gitTag()

Get the gitTag property: Git repository tag to be used.

Returns:

the gitTag value.

intervalInSeconds

public Integer intervalInSeconds()

Get the intervalInSeconds property: Interval for checking for updates to Git or image repository.

Returns:

the intervalInSeconds value.

subPath

public String subPath()

Get the subPath property: Folder path inside the git repository to consider as the root of the accelerator or fragment.

Returns:

the subPath value.

url

public String url()

Get the url property: Git repository URL for the accelerator.

Returns:

the url value.

validate

public void validate()

Validates the instance.

withAuthSetting

public AcceleratorGitRepository withAuthSetting(AcceleratorAuthSetting authSetting)

Set the authSetting property: Properties of the auth setting payload.

Parameters:

authSetting - the authSetting value to set.

Returns:

the AcceleratorGitRepository object itself.

withBranch

public AcceleratorGitRepository withBranch(String branch)

Set the branch property: Git repository branch to be used.

Parameters:

branch - the branch value to set.

Returns:

the AcceleratorGitRepository object itself.

withCommit

public AcceleratorGitRepository withCommit(String commit)

Set the commit property: Git repository commit to be used.

Parameters:

commit - the commit value to set.

Returns:

the AcceleratorGitRepository object itself.

withGitTag

public AcceleratorGitRepository withGitTag(String gitTag)

Set the gitTag property: Git repository tag to be used.

Parameters:

gitTag - the gitTag value to set.

Returns:

the AcceleratorGitRepository object itself.

withIntervalInSeconds

public AcceleratorGitRepository withIntervalInSeconds(Integer intervalInSeconds)

Set the intervalInSeconds property: Interval for checking for updates to Git or image repository.

Parameters:

intervalInSeconds - the intervalInSeconds value to set.

Returns:

the AcceleratorGitRepository object itself.

withSubPath

public AcceleratorGitRepository withSubPath(String subPath)

Set the subPath property: Folder path inside the git repository to consider as the root of the accelerator or fragment.

Parameters:

subPath - the subPath value to set.

Returns:

the AcceleratorGitRepository object itself.

withUrl

public AcceleratorGitRepository withUrl(String url)

Set the url property: Git repository URL for the accelerator.

Parameters:

url - the url value to set.

Returns:

the AcceleratorGitRepository object itself.

Applies to