// *** 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.gcp.cloudrun.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.gcp.cloudrun.outputs.GetServiceTemplateSpecContainerEnvValueFromSecretKeyRef;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetServiceTemplateSpecContainerEnvValueFrom {
    private List<GetServiceTemplateSpecContainerEnvValueFromSecretKeyRef> secretKeyReves;

    private GetServiceTemplateSpecContainerEnvValueFrom() {}
    public List<GetServiceTemplateSpecContainerEnvValueFromSecretKeyRef> secretKeyReves() {
        return this.secretKeyReves;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GetServiceTemplateSpecContainerEnvValueFrom defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List<GetServiceTemplateSpecContainerEnvValueFromSecretKeyRef> secretKeyReves;
        public Builder() {}
        public Builder(GetServiceTemplateSpecContainerEnvValueFrom defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.secretKeyReves = defaults.secretKeyReves;
        }

        @CustomType.Setter
        public Builder secretKeyReves(List<GetServiceTemplateSpecContainerEnvValueFromSecretKeyRef> secretKeyReves) {
            this.secretKeyReves = Objects.requireNonNull(secretKeyReves);
            return this;
        }
        public Builder secretKeyReves(GetServiceTemplateSpecContainerEnvValueFromSecretKeyRef... secretKeyReves) {
            return secretKeyReves(List.of(secretKeyReves));
        }
        public GetServiceTemplateSpecContainerEnvValueFrom build() {
            final var o = new GetServiceTemplateSpecContainerEnvValueFrom();
            o.secretKeyReves = secretKeyReves;
            return o;
        }
    }
}
