GitHubActionConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. GitHubActionConfiguration
- com.
Implements
public final class GitHubActionConfiguration
implements JsonSerializable<GitHubActionConfiguration>
The GitHub action configuration.
Constructor Summary
Constructor | Description |
---|---|
GitHubActionConfiguration() |
Creates an instance of Git |
Method Summary
Modifier and Type | Method and Description |
---|---|
Git |
codeConfiguration()
Get the code |
Git |
containerConfiguration()
Get the container |
static
Git |
fromJson(JsonReader jsonReader)
Reads an instance of Git |
Boolean |
generateWorkflowFile()
Get the generate |
Boolean |
isLinux()
Get the is |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Git |
withCodeConfiguration(GitHubActionCodeConfiguration codeConfiguration)
Set the code |
Git |
withContainerConfiguration(GitHubActionContainerConfiguration containerConfiguration)
Set the container |
Git |
withGenerateWorkflowFile(Boolean generateWorkflowFile)
Set the generate |
Git |
withIsLinux(Boolean isLinux)
Set the is |
Methods inherited from java.lang.Object
Constructor Details
GitHubActionConfiguration
public GitHubActionConfiguration()
Creates an instance of GitHubActionConfiguration class.
Method Details
codeConfiguration
public GitHubActionCodeConfiguration codeConfiguration()
Get the codeConfiguration property: GitHub Action code configuration.
Returns:
containerConfiguration
public GitHubActionContainerConfiguration containerConfiguration()
Get the containerConfiguration property: GitHub Action container configuration.
Returns:
fromJson
public static GitHubActionConfiguration fromJson(JsonReader jsonReader)
Reads an instance of GitHubActionConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
generateWorkflowFile
public Boolean generateWorkflowFile()
Get the generateWorkflowFile property: Workflow option to determine whether the workflow file should be generated and written to the repository.
Returns:
isLinux
public Boolean isLinux()
Get the isLinux property: This will help determine the workflow configuration to select.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCodeConfiguration
public GitHubActionConfiguration withCodeConfiguration(GitHubActionCodeConfiguration codeConfiguration)
Set the codeConfiguration property: GitHub Action code configuration.
Parameters:
Returns:
withContainerConfiguration
public GitHubActionConfiguration withContainerConfiguration(GitHubActionContainerConfiguration containerConfiguration)
Set the containerConfiguration property: GitHub Action container configuration.
Parameters:
Returns:
withGenerateWorkflowFile
public GitHubActionConfiguration withGenerateWorkflowFile(Boolean generateWorkflowFile)
Set the generateWorkflowFile property: Workflow option to determine whether the workflow file should be generated and written to the repository.
Parameters:
Returns:
withIsLinux
public GitHubActionConfiguration withIsLinux(Boolean isLinux)
Set the isLinux property: This will help determine the workflow configuration to select.
Parameters:
Returns:
Applies to
Azure SDK for Java