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

import com.pulumi.core.annotations.CustomType;
import com.pulumi.gcp.cloudbuild.outputs.GetTriggerBuildAvailableSecretSecretManager;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetTriggerBuildAvailableSecret {
    private List<GetTriggerBuildAvailableSecretSecretManager> secretManagers;

    private GetTriggerBuildAvailableSecret() {}
    public List<GetTriggerBuildAvailableSecretSecretManager> secretManagers() {
        return this.secretManagers;
    }

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

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

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