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

import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ConfigurationSetReputationOptions {
    /**
     * @return The date and time (in Unix time) when the reputation metrics were last given a fresh start. When your account is given a fresh start, your reputation metrics are calculated starting from the date of the fresh start.
     * 
     */
    private @Nullable String lastFreshStart;
    /**
     * @return If `true`, tracking of reputation metrics is enabled for the configuration set. If `false`, tracking of reputation metrics is disabled for the configuration set.
     * 
     */
    private @Nullable Boolean reputationMetricsEnabled;

    private ConfigurationSetReputationOptions() {}
    /**
     * @return The date and time (in Unix time) when the reputation metrics were last given a fresh start. When your account is given a fresh start, your reputation metrics are calculated starting from the date of the fresh start.
     * 
     */
    public Optional<String> lastFreshStart() {
        return Optional.ofNullable(this.lastFreshStart);
    }
    /**
     * @return If `true`, tracking of reputation metrics is enabled for the configuration set. If `false`, tracking of reputation metrics is disabled for the configuration set.
     * 
     */
    public Optional<Boolean> reputationMetricsEnabled() {
        return Optional.ofNullable(this.reputationMetricsEnabled);
    }

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

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

        @CustomType.Setter
        public Builder lastFreshStart(@Nullable String lastFreshStart) {
            this.lastFreshStart = lastFreshStart;
            return this;
        }
        @CustomType.Setter
        public Builder reputationMetricsEnabled(@Nullable Boolean reputationMetricsEnabled) {
            this.reputationMetricsEnabled = reputationMetricsEnabled;
            return this;
        }
        public ConfigurationSetReputationOptions build() {
            final var o = new ConfigurationSetReputationOptions();
            o.lastFreshStart = lastFreshStart;
            o.reputationMetricsEnabled = reputationMetricsEnabled;
            return o;
        }
    }
}
