Class GitHubActionCodeConfiguration
java.lang.Object
com.azure.resourcemanager.appservice.models.GitHubActionCodeConfiguration
The GitHub action code configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of GitHubActionCodeConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the runtimeStack property: Runtime stack is used to determine the workflow file content for code base apps.Get the runtimeVersion property: Runtime version is used to determine what build version to set in the workflow file.voidvalidate()Validates the instance.withRuntimeStack(String runtimeStack) Set the runtimeStack property: Runtime stack is used to determine the workflow file content for code base apps.withRuntimeVersion(String runtimeVersion) Set the runtimeVersion property: Runtime version is used to determine what build version to set in the workflow file.
-
Constructor Details
-
GitHubActionCodeConfiguration
public GitHubActionCodeConfiguration()Creates an instance of GitHubActionCodeConfiguration class.
-
-
Method Details
-
runtimeStack
Get the runtimeStack property: Runtime stack is used to determine the workflow file content for code base apps.- Returns:
- the runtimeStack value.
-
withRuntimeStack
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
Get the runtimeVersion property: Runtime version is used to determine what build version to set in the workflow file.- Returns:
- the runtimeVersion value.
-
withRuntimeVersion
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.
-