Class GitHubActionCodeConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.GitHubActionCodeConfiguration
-
public final class GitHubActionCodeConfiguration extends Object
The GitHub action code configuration.
-
-
Constructor Summary
Constructors Constructor Description GitHubActionCodeConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringruntimeStack()Get the runtimeStack property: Runtime stack is used to determine the workflow file content for code base apps.StringruntimeVersion()Get the runtimeVersion property: Runtime version is used to determine what build version to set in the workflow file.voidvalidate()Validates the instance.GitHubActionCodeConfigurationwithRuntimeStack(String runtimeStack)Set the runtimeStack property: Runtime stack is used to determine the workflow file content for code base apps.GitHubActionCodeConfigurationwithRuntimeVersion(String runtimeVersion)Set the runtimeVersion property: Runtime version is used to determine what build version to set in the workflow file.
-
-
-
Method Detail
-
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.
-
-