AcceleratorGitRepository Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. AcceleratorGitRepository
- com.
public final class AcceleratorGitRepository
The AcceleratorGitRepository model.
Constructor Summary
Constructor | Description |
---|---|
AcceleratorGitRepository() |
Creates an instance of Accelerator |
Method Summary
Modifier and Type | Method and Description |
---|---|
Accelerator |
authSetting()
Get the auth |
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 git |
Integer |
intervalInSeconds()
Get the interval |
String |
subPath()
Get the sub |
String |
url()
Get the url property: Git repository URL for the accelerator. |
void |
validate()
Validates the instance. |
Accelerator |
withAuthSetting(AcceleratorAuthSetting authSetting)
Set the auth |
Accelerator |
withBranch(String branch)
Set the branch property: Git repository branch to be used. |
Accelerator |
withCommit(String commit)
Set the commit property: Git repository commit to be used. |
Accelerator |
withGitTag(String gitTag)
Set the git |
Accelerator |
withIntervalInSeconds(Integer intervalInSeconds)
Set the interval |
Accelerator |
withSubPath(String subPath)
Set the sub |
Accelerator |
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:
branch
public String branch()
Get the branch property: Git repository branch to be used.
Returns:
commit
public String commit()
Get the commit property: Git repository commit to be used.
Returns:
gitTag
public String gitTag()
Get the gitTag property: Git repository tag to be used.
Returns:
intervalInSeconds
public Integer intervalInSeconds()
Get the intervalInSeconds property: Interval for checking for updates to Git or image repository.
Returns:
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:
url
public String url()
Get the url property: Git repository URL for the accelerator.
Returns:
validate
public void validate()
Validates the instance.
withAuthSetting
public AcceleratorGitRepository withAuthSetting(AcceleratorAuthSetting authSetting)
Set the authSetting property: Properties of the auth setting payload.
Parameters:
Returns:
withBranch
public AcceleratorGitRepository withBranch(String branch)
Set the branch property: Git repository branch to be used.
Parameters:
Returns:
withCommit
public AcceleratorGitRepository withCommit(String commit)
Set the commit property: Git repository commit to be used.
Parameters:
Returns:
withGitTag
public AcceleratorGitRepository withGitTag(String gitTag)
Set the gitTag property: Git repository tag to be used.
Parameters:
Returns:
withIntervalInSeconds
public AcceleratorGitRepository withIntervalInSeconds(Integer intervalInSeconds)
Set the intervalInSeconds property: Interval for checking for updates to Git or image repository.
Parameters:
Returns:
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:
Returns:
withUrl
public AcceleratorGitRepository withUrl(String url)
Set the url property: Git repository URL for the accelerator.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for