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

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class EventDestinationCloudwatchDestination {
    /**
     * @return The default value for the event
     * 
     */
    private String defaultValue;
    /**
     * @return The name for the dimension
     * 
     */
    private String dimensionName;
    /**
     * @return The source for the value. May be any of `&#34;messageTag&#34;`, `&#34;emailHeader&#34;` or `&#34;linkTag&#34;`.
     * 
     */
    private String valueSource;

    private EventDestinationCloudwatchDestination() {}
    /**
     * @return The default value for the event
     * 
     */
    public String defaultValue() {
        return this.defaultValue;
    }
    /**
     * @return The name for the dimension
     * 
     */
    public String dimensionName() {
        return this.dimensionName;
    }
    /**
     * @return The source for the value. May be any of `&#34;messageTag&#34;`, `&#34;emailHeader&#34;` or `&#34;linkTag&#34;`.
     * 
     */
    public String valueSource() {
        return this.valueSource;
    }

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

    public static Builder builder(EventDestinationCloudwatchDestination defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String defaultValue;
        private String dimensionName;
        private String valueSource;
        public Builder() {}
        public Builder(EventDestinationCloudwatchDestination defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.defaultValue = defaults.defaultValue;
    	      this.dimensionName = defaults.dimensionName;
    	      this.valueSource = defaults.valueSource;
        }

        @CustomType.Setter
        public Builder defaultValue(String defaultValue) {
            this.defaultValue = Objects.requireNonNull(defaultValue);
            return this;
        }
        @CustomType.Setter
        public Builder dimensionName(String dimensionName) {
            this.dimensionName = Objects.requireNonNull(dimensionName);
            return this;
        }
        @CustomType.Setter
        public Builder valueSource(String valueSource) {
            this.valueSource = Objects.requireNonNull(valueSource);
            return this;
        }
        public EventDestinationCloudwatchDestination build() {
            final var o = new EventDestinationCloudwatchDestination();
            o.defaultValue = defaultValue;
            o.dimensionName = dimensionName;
            o.valueSource = valueSource;
            return o;
        }
    }
}
