Class GitHubActionConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.GitHubActionConfiguration
-
public final class GitHubActionConfiguration extends Object
The GitHub action configuration.
-
-
Constructor Summary
Constructors Constructor Description GitHubActionConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GitHubActionCodeConfigurationcodeConfiguration()Get the codeConfiguration property: GitHub Action code configuration.GitHubActionContainerConfigurationcontainerConfiguration()Get the containerConfiguration property: GitHub Action container configuration.BooleangenerateWorkflowFile()Get the generateWorkflowFile property: Workflow option to determine whether the workflow file should be generated and written to the repository.BooleanisLinux()Get the isLinux property: This will help determine the workflow configuration to select.voidvalidate()Validates the instance.GitHubActionConfigurationwithCodeConfiguration(GitHubActionCodeConfiguration codeConfiguration)Set the codeConfiguration property: GitHub Action code configuration.GitHubActionConfigurationwithContainerConfiguration(GitHubActionContainerConfiguration containerConfiguration)Set the containerConfiguration property: GitHub Action container configuration.GitHubActionConfigurationwithGenerateWorkflowFile(Boolean generateWorkflowFile)Set the generateWorkflowFile property: Workflow option to determine whether the workflow file should be generated and written to the repository.GitHubActionConfigurationwithIsLinux(Boolean isLinux)Set the isLinux property: This will help determine the workflow configuration to select.
-
-
-
Method Detail
-
codeConfiguration
public GitHubActionCodeConfiguration codeConfiguration()
Get the codeConfiguration property: GitHub Action code configuration.- Returns:
- the codeConfiguration value.
-
withCodeConfiguration
public GitHubActionConfiguration withCodeConfiguration(GitHubActionCodeConfiguration codeConfiguration)
Set the codeConfiguration property: GitHub Action code configuration.- Parameters:
codeConfiguration- the codeConfiguration value to set.- Returns:
- the GitHubActionConfiguration object itself.
-
containerConfiguration
public GitHubActionContainerConfiguration containerConfiguration()
Get the containerConfiguration property: GitHub Action container configuration.- Returns:
- the containerConfiguration value.
-
withContainerConfiguration
public GitHubActionConfiguration withContainerConfiguration(GitHubActionContainerConfiguration containerConfiguration)
Set the containerConfiguration property: GitHub Action container configuration.- Parameters:
containerConfiguration- the containerConfiguration value to set.- Returns:
- the GitHubActionConfiguration object itself.
-
isLinux
public Boolean isLinux()
Get the isLinux property: This will help determine the workflow configuration to select.- Returns:
- the isLinux value.
-
withIsLinux
public GitHubActionConfiguration withIsLinux(Boolean isLinux)
Set the isLinux property: This will help determine the workflow configuration to select.- Parameters:
isLinux- the isLinux value to set.- Returns:
- the GitHubActionConfiguration object itself.
-
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:
- the generateWorkflowFile value.
-
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:
generateWorkflowFile- the generateWorkflowFile value to set.- Returns:
- the GitHubActionConfiguration object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-