Class GitHubActionCodeConfiguration

java.lang.Object
com.azure.resourcemanager.appservice.models.GitHubActionCodeConfiguration

public final class GitHubActionCodeConfiguration extends Object
The GitHub action code configuration.
  • Constructor Details

    • GitHubActionCodeConfiguration

      public GitHubActionCodeConfiguration()
  • Method Details

    • runtimeStack

      public String runtimeStack()
      Get the runtimeStack property: Runtime stack is used to determine the workflow file content for code base apps.
      Returns:
      the runtimeStack value.
    • withRuntimeStack

      public GitHubActionCodeConfiguration withRuntimeStack(String runtimeStack)
      Set the runtimeStack property: Runtime stack is used to determine the workflow file content for code base apps.
      Parameters:
      runtimeStack - the runtimeStack value to set.
      Returns:
      the GitHubActionCodeConfiguration object itself.
    • runtimeVersion

      public String runtimeVersion()
      Get the runtimeVersion property: Runtime version is used to determine what build version to set in the workflow file.
      Returns:
      the runtimeVersion value.
    • withRuntimeVersion

      public GitHubActionCodeConfiguration withRuntimeVersion(String runtimeVersion)
      Set the runtimeVersion property: Runtime version is used to determine what build version to set in the workflow file.
      Parameters:
      runtimeVersion - the runtimeVersion value to set.
      Returns:
      the GitHubActionCodeConfiguration object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.