com.pulumi.azurenative.appplatform.outputs.EnvVarResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.azurenative.appplatform.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class EnvVarResponse {
/**
* @return Environment variable name.
*
*/
private @Nullable String name;
/**
* @return secret environment variable value.
*
*/
private @Nullable String secretValue;
/**
* @return Non-secret environment variable value.
*
*/
private @Nullable String value;
private EnvVarResponse() {}
/**
* @return Environment variable name.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return secret environment variable value.
*
*/
public Optional secretValue() {
return Optional.ofNullable(this.secretValue);
}
/**
* @return Non-secret environment variable value.
*
*/
public Optional value() {
return Optional.ofNullable(this.value);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EnvVarResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String name;
private @Nullable String secretValue;
private @Nullable String value;
public Builder() {}
public Builder(EnvVarResponse defaults) {
Objects.requireNonNull(defaults);
this.name = defaults.name;
this.secretValue = defaults.secretValue;
this.value = defaults.value;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder secretValue(@Nullable String secretValue) {
this.secretValue = secretValue;
return this;
}
@CustomType.Setter
public Builder value(@Nullable String value) {
this.value = value;
return this;
}
public EnvVarResponse build() {
final var _resultValue = new EnvVarResponse();
_resultValue.name = name;
_resultValue.secretValue = secretValue;
_resultValue.value = value;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy