com.pulumi.azure.appservice.inputs.SourceControlGithubActionConfigurationCodeConfigurationArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azure.appservice.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class SourceControlGithubActionConfigurationCodeConfigurationArgs extends com.pulumi.resources.ResourceArgs {
public static final SourceControlGithubActionConfigurationCodeConfigurationArgs Empty = new SourceControlGithubActionConfigurationCodeConfigurationArgs();
/**
* The value to use for the Runtime Stack in the workflow file content for code base apps. Possible values are `dotnetcore`, `spring`, `tomcat`, `node` and `python`. Changing this forces a new resource to be created.
*
*/
@Import(name="runtimeStack", required=true)
private Output runtimeStack;
/**
* @return The value to use for the Runtime Stack in the workflow file content for code base apps. Possible values are `dotnetcore`, `spring`, `tomcat`, `node` and `python`. Changing this forces a new resource to be created.
*
*/
public Output runtimeStack() {
return this.runtimeStack;
}
/**
* The value to use for the Runtime Version in the workflow file content for code base apps. Changing this forces a new resource to be created.
*
*/
@Import(name="runtimeVersion", required=true)
private Output runtimeVersion;
/**
* @return The value to use for the Runtime Version in the workflow file content for code base apps. Changing this forces a new resource to be created.
*
*/
public Output runtimeVersion() {
return this.runtimeVersion;
}
private SourceControlGithubActionConfigurationCodeConfigurationArgs() {}
private SourceControlGithubActionConfigurationCodeConfigurationArgs(SourceControlGithubActionConfigurationCodeConfigurationArgs $) {
this.runtimeStack = $.runtimeStack;
this.runtimeVersion = $.runtimeVersion;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SourceControlGithubActionConfigurationCodeConfigurationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private SourceControlGithubActionConfigurationCodeConfigurationArgs $;
public Builder() {
$ = new SourceControlGithubActionConfigurationCodeConfigurationArgs();
}
public Builder(SourceControlGithubActionConfigurationCodeConfigurationArgs defaults) {
$ = new SourceControlGithubActionConfigurationCodeConfigurationArgs(Objects.requireNonNull(defaults));
}
/**
* @param runtimeStack The value to use for the Runtime Stack in the workflow file content for code base apps. Possible values are `dotnetcore`, `spring`, `tomcat`, `node` and `python`. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder runtimeStack(Output runtimeStack) {
$.runtimeStack = runtimeStack;
return this;
}
/**
* @param runtimeStack The value to use for the Runtime Stack in the workflow file content for code base apps. Possible values are `dotnetcore`, `spring`, `tomcat`, `node` and `python`. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder runtimeStack(String runtimeStack) {
return runtimeStack(Output.of(runtimeStack));
}
/**
* @param runtimeVersion The value to use for the Runtime Version in the workflow file content for code base apps. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder runtimeVersion(Output runtimeVersion) {
$.runtimeVersion = runtimeVersion;
return this;
}
/**
* @param runtimeVersion The value to use for the Runtime Version in the workflow file content for code base apps. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder runtimeVersion(String runtimeVersion) {
return runtimeVersion(Output.of(runtimeVersion));
}
public SourceControlGithubActionConfigurationCodeConfigurationArgs build() {
if ($.runtimeStack == null) {
throw new MissingRequiredPropertyException("SourceControlGithubActionConfigurationCodeConfigurationArgs", "runtimeStack");
}
if ($.runtimeVersion == null) {
throw new MissingRequiredPropertyException("SourceControlGithubActionConfigurationCodeConfigurationArgs", "runtimeVersion");
}
return $;
}
}
}