// *** 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.sagemaker.inputs;

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


public final class EndpointDeploymentConfigAutoRollbackConfigurationAlarmArgs extends com.pulumi.resources.ResourceArgs {

    public static final EndpointDeploymentConfigAutoRollbackConfigurationAlarmArgs Empty = new EndpointDeploymentConfigAutoRollbackConfigurationAlarmArgs();

    /**
     * The name of a CloudWatch alarm in your account.
     * 
     */
    @Import(name="alarmName", required=true)
    private Output<String> alarmName;

    /**
     * @return The name of a CloudWatch alarm in your account.
     * 
     */
    public Output<String> alarmName() {
        return this.alarmName;
    }

    private EndpointDeploymentConfigAutoRollbackConfigurationAlarmArgs() {}

    private EndpointDeploymentConfigAutoRollbackConfigurationAlarmArgs(EndpointDeploymentConfigAutoRollbackConfigurationAlarmArgs $) {
        this.alarmName = $.alarmName;
    }

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

    public static final class Builder {
        private EndpointDeploymentConfigAutoRollbackConfigurationAlarmArgs $;

        public Builder() {
            $ = new EndpointDeploymentConfigAutoRollbackConfigurationAlarmArgs();
        }

        public Builder(EndpointDeploymentConfigAutoRollbackConfigurationAlarmArgs defaults) {
            $ = new EndpointDeploymentConfigAutoRollbackConfigurationAlarmArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param alarmName The name of a CloudWatch alarm in your account.
         * 
         * @return builder
         * 
         */
        public Builder alarmName(Output<String> alarmName) {
            $.alarmName = alarmName;
            return this;
        }

        /**
         * @param alarmName The name of a CloudWatch alarm in your account.
         * 
         * @return builder
         * 
         */
        public Builder alarmName(String alarmName) {
            return alarmName(Output.of(alarmName));
        }

        public EndpointDeploymentConfigAutoRollbackConfigurationAlarmArgs build() {
            $.alarmName = Objects.requireNonNull($.alarmName, "expected parameter 'alarmName' to be non-null");
            return $;
        }
    }

}
