GitHubActionCodeConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. GitHubActionCodeConfiguration
- com.
Implements
public final class GitHubActionCodeConfiguration
implements JsonSerializable<GitHubActionCodeConfiguration>
The GitHub action code configuration.
Constructor Summary
Constructor | Description |
---|---|
GitHubActionCodeConfiguration() |
Creates an instance of Git |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Git |
fromJson(JsonReader jsonReader)
Reads an instance of Git |
String |
runtimeStack()
Get the runtime |
String |
runtimeVersion()
Get the runtime |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Git |
withRuntimeStack(String runtimeStack)
Set the runtime |
Git |
withRuntimeVersion(String runtimeVersion)
Set the runtime |
Methods inherited from java.lang.Object
Constructor Details
GitHubActionCodeConfiguration
public GitHubActionCodeConfiguration()
Creates an instance of GitHubActionCodeConfiguration class.
Method Details
fromJson
public static GitHubActionCodeConfiguration fromJson(JsonReader jsonReader)
Reads an instance of GitHubActionCodeConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
runtimeStack
public String runtimeStack()
Get the runtimeStack property: Runtime stack is used to determine the workflow file content for code base apps.
Returns:
runtimeVersion
public String runtimeVersion()
Get the runtimeVersion property: Runtime version is used to determine what build version to set in the workflow file.
Returns:
toJson
validate
public void validate()
Validates the instance.
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:
Returns:
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:
Returns:
Applies to
Azure SDK for Java