SourceControlUpdateParameters Class
- java.
lang. Object - com.
azure. resourcemanager. automation. models. SourceControlUpdateParameters
- com.
public final class SourceControlUpdateParameters
The parameters supplied to the update source control operation.
Constructor Summary
Constructor | Description | |
---|---|---|
SourceControlUpdateParameters() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
autoSync()
Get the auto |
String |
branch()
Get the branch property: The repo branch of the source control. |
String |
description()
Get the description property: The user description of the source control. |
String |
folderPath()
Get the folder |
Boolean |
publishRunbook()
Get the publish |
Source |
securityToken()
Get the security |
void |
validate()
Validates the instance. |
Source |
withAutoSync(Boolean autoSync)
Set the auto |
Source |
withBranch(String branch)
Set the branch property: The repo branch of the source control. |
Source |
withDescription(String description)
Set the description property: The user description of the source control. |
Source |
withFolderPath(String folderPath)
Set the folder |
Source |
withPublishRunbook(Boolean publishRunbook)
Set the publish |
Source |
withSecurityToken(SourceControlSecurityTokenProperties securityToken)
Set the security |
Methods inherited from java.lang.Object
Constructor Details
SourceControlUpdateParameters
public SourceControlUpdateParameters()
Method Details
autoSync
public Boolean autoSync()
Get the autoSync property: The auto sync of the source control. Default is false.
Returns:
branch
public String branch()
Get the branch property: The repo branch of the source control.
Returns:
description
public String description()
Get the description property: The user description of the source control.
Returns:
folderPath
public String folderPath()
Get the folderPath property: The folder path of the source control. Path must be relative.
Returns:
publishRunbook
public Boolean publishRunbook()
Get the publishRunbook property: The auto publish of the source control. Default is true.
Returns:
securityToken
public SourceControlSecurityTokenProperties securityToken()
Get the securityToken property: The authorization token for the repo of the source control.
Returns:
validate
public void validate()
Validates the instance.
withAutoSync
public SourceControlUpdateParameters withAutoSync(Boolean autoSync)
Set the autoSync property: The auto sync of the source control. Default is false.
Parameters:
Returns:
withBranch
public SourceControlUpdateParameters withBranch(String branch)
Set the branch property: The repo branch of the source control.
Parameters:
Returns:
withDescription
public SourceControlUpdateParameters withDescription(String description)
Set the description property: The user description of the source control.
Parameters:
Returns:
withFolderPath
public SourceControlUpdateParameters withFolderPath(String folderPath)
Set the folderPath property: The folder path of the source control. Path must be relative.
Parameters:
Returns:
withPublishRunbook
public SourceControlUpdateParameters withPublishRunbook(Boolean publishRunbook)
Set the publishRunbook property: The auto publish of the source control. Default is true.
Parameters:
Returns:
withSecurityToken
public SourceControlUpdateParameters withSecurityToken(SourceControlSecurityTokenProperties securityToken)
Set the securityToken property: The authorization token for the repo of the source control.
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