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

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

@CustomType
public final class MonitoringScheduleMonitoringScheduleConfigScheduleConfig {
    /**
     * @return A cron expression that describes details about the monitoring schedule. For example, and hourly schedule would be `cron(0 * ? * * *)`.
     * 
     */
    private String scheduleExpression;

    private MonitoringScheduleMonitoringScheduleConfigScheduleConfig() {}
    /**
     * @return A cron expression that describes details about the monitoring schedule. For example, and hourly schedule would be `cron(0 * ? * * *)`.
     * 
     */
    public String scheduleExpression() {
        return this.scheduleExpression;
    }

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

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

        @CustomType.Setter
        public Builder scheduleExpression(String scheduleExpression) {
            this.scheduleExpression = Objects.requireNonNull(scheduleExpression);
            return this;
        }
        public MonitoringScheduleMonitoringScheduleConfigScheduleConfig build() {
            final var o = new MonitoringScheduleMonitoringScheduleConfigScheduleConfig();
            o.scheduleExpression = scheduleExpression;
            return o;
        }
    }
}
