com.pulumi.aws.apprunner.outputs.ServiceSourceConfigurationCodeRepositorySourceCodeVersion Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
The newest version!
// *** 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.aws.apprunner.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class ServiceSourceConfigurationCodeRepositorySourceCodeVersion {
/**
* @return Type of version identifier. For a git-based repository, branches represent versions. Valid values: `BRANCH`.
*
*/
private String type;
/**
* @return Source code version. For a git-based repository, a branch name maps to a specific version. App Runner uses the most recent commit to the branch.
*
*/
private String value;
private ServiceSourceConfigurationCodeRepositorySourceCodeVersion() {}
/**
* @return Type of version identifier. For a git-based repository, branches represent versions. Valid values: `BRANCH`.
*
*/
public String type() {
return this.type;
}
/**
* @return Source code version. For a git-based repository, a branch name maps to a specific version. App Runner uses the most recent commit to the branch.
*
*/
public String value() {
return this.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ServiceSourceConfigurationCodeRepositorySourceCodeVersion defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String type;
private String value;
public Builder() {}
public Builder(ServiceSourceConfigurationCodeRepositorySourceCodeVersion defaults) {
Objects.requireNonNull(defaults);
this.type = defaults.type;
this.value = defaults.value;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("ServiceSourceConfigurationCodeRepositorySourceCodeVersion", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder value(String value) {
if (value == null) {
throw new MissingRequiredPropertyException("ServiceSourceConfigurationCodeRepositorySourceCodeVersion", "value");
}
this.value = value;
return this;
}
public ServiceSourceConfigurationCodeRepositorySourceCodeVersion build() {
final var _resultValue = new ServiceSourceConfigurationCodeRepositorySourceCodeVersion();
_resultValue.type = type;
_resultValue.value = value;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy