// *** 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.acm.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 CertificateOptions {
    /**
     * @return Whether certificate details should be added to a certificate transparency log. Valid values are `ENABLED` or `DISABLED`. See https://docs.aws.amazon.com/acm/latest/userguide/acm-concepts.html#concept-transparency for more details.
     * 
     */
    private @Nullable String certificateTransparencyLoggingPreference;

    private CertificateOptions() {}
    /**
     * @return Whether certificate details should be added to a certificate transparency log. Valid values are `ENABLED` or `DISABLED`. See https://docs.aws.amazon.com/acm/latest/userguide/acm-concepts.html#concept-transparency for more details.
     * 
     */
    public Optional<String> certificateTransparencyLoggingPreference() {
        return Optional.ofNullable(this.certificateTransparencyLoggingPreference);
    }

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

    public static Builder builder(CertificateOptions defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String certificateTransparencyLoggingPreference;
        public Builder() {}
        public Builder(CertificateOptions defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.certificateTransparencyLoggingPreference = defaults.certificateTransparencyLoggingPreference;
        }

        @CustomType.Setter
        public Builder certificateTransparencyLoggingPreference(@Nullable String certificateTransparencyLoggingPreference) {
            this.certificateTransparencyLoggingPreference = certificateTransparencyLoggingPreference;
            return this;
        }
        public CertificateOptions build() {
            final var o = new CertificateOptions();
            o.certificateTransparencyLoggingPreference = certificateTransparencyLoggingPreference;
            return o;
        }
    }
}
