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

import com.pulumi.aws.evidently.outputs.LaunchMetricMonitorMetricDefinition;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;

@CustomType
public final class LaunchMetricMonitor {
    /**
     * @return A block that defines the metric. Detailed below.
     * 
     */
    private LaunchMetricMonitorMetricDefinition metricDefinition;

    private LaunchMetricMonitor() {}
    /**
     * @return A block that defines the metric. Detailed below.
     * 
     */
    public LaunchMetricMonitorMetricDefinition metricDefinition() {
        return this.metricDefinition;
    }

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

    public static Builder builder(LaunchMetricMonitor defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private LaunchMetricMonitorMetricDefinition metricDefinition;
        public Builder() {}
        public Builder(LaunchMetricMonitor defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.metricDefinition = defaults.metricDefinition;
        }

        @CustomType.Setter
        public Builder metricDefinition(LaunchMetricMonitorMetricDefinition metricDefinition) {
            this.metricDefinition = Objects.requireNonNull(metricDefinition);
            return this;
        }
        public LaunchMetricMonitor build() {
            final var o = new LaunchMetricMonitor();
            o.metricDefinition = metricDefinition;
            return o;
        }
    }
}
