// *** 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 java.lang.String;
import java.util.Objects;

@CustomType
public final class BitbucketServerConfigSecrets {
    /**
     * @return The resource name for the admin access token&#39;s secret version.
     * 
     */
    private String adminAccessTokenVersionName;
    /**
     * @return The resource name for the read access token&#39;s secret version.
     * 
     */
    private String readAccessTokenVersionName;
    /**
     * @return Immutable. The resource name for the webhook secret&#39;s secret version. Once this field has been set, it cannot be changed.
     * Changing this field will result in deleting/ recreating the resource.
     * 
     * ***
     * 
     */
    private String webhookSecretVersionName;

    private BitbucketServerConfigSecrets() {}
    /**
     * @return The resource name for the admin access token&#39;s secret version.
     * 
     */
    public String adminAccessTokenVersionName() {
        return this.adminAccessTokenVersionName;
    }
    /**
     * @return The resource name for the read access token&#39;s secret version.
     * 
     */
    public String readAccessTokenVersionName() {
        return this.readAccessTokenVersionName;
    }
    /**
     * @return Immutable. The resource name for the webhook secret&#39;s secret version. Once this field has been set, it cannot be changed.
     * Changing this field will result in deleting/ recreating the resource.
     * 
     * ***
     * 
     */
    public String webhookSecretVersionName() {
        return this.webhookSecretVersionName;
    }

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

    public static Builder builder(BitbucketServerConfigSecrets defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String adminAccessTokenVersionName;
        private String readAccessTokenVersionName;
        private String webhookSecretVersionName;
        public Builder() {}
        public Builder(BitbucketServerConfigSecrets defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.adminAccessTokenVersionName = defaults.adminAccessTokenVersionName;
    	      this.readAccessTokenVersionName = defaults.readAccessTokenVersionName;
    	      this.webhookSecretVersionName = defaults.webhookSecretVersionName;
        }

        @CustomType.Setter
        public Builder adminAccessTokenVersionName(String adminAccessTokenVersionName) {
            this.adminAccessTokenVersionName = Objects.requireNonNull(adminAccessTokenVersionName);
            return this;
        }
        @CustomType.Setter
        public Builder readAccessTokenVersionName(String readAccessTokenVersionName) {
            this.readAccessTokenVersionName = Objects.requireNonNull(readAccessTokenVersionName);
            return this;
        }
        @CustomType.Setter
        public Builder webhookSecretVersionName(String webhookSecretVersionName) {
            this.webhookSecretVersionName = Objects.requireNonNull(webhookSecretVersionName);
            return this;
        }
        public BitbucketServerConfigSecrets build() {
            final var o = new BitbucketServerConfigSecrets();
            o.adminAccessTokenVersionName = adminAccessTokenVersionName;
            o.readAccessTokenVersionName = readAccessTokenVersionName;
            o.webhookSecretVersionName = webhookSecretVersionName;
            return o;
        }
    }
}
