All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.sagemaker.inputs.MonitoringScheduleMonitoringScheduleConfigArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The newest version!
// *** 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.aws.sagemaker.inputs.MonitoringScheduleMonitoringScheduleConfigScheduleConfigArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final MonitoringScheduleMonitoringScheduleConfigArgs Empty = new MonitoringScheduleMonitoringScheduleConfigArgs();

    /**
     * The name of the monitoring job definition to schedule.
     * 
     */
    @Import(name="monitoringJobDefinitionName", required=true)
    private Output monitoringJobDefinitionName;

    /**
     * @return The name of the monitoring job definition to schedule.
     * 
     */
    public Output monitoringJobDefinitionName() {
        return this.monitoringJobDefinitionName;
    }

    /**
     * The type of the monitoring job definition to schedule. Valid values are `DataQuality`, `ModelQuality`, `ModelBias` or `ModelExplainability`
     * 
     */
    @Import(name="monitoringType", required=true)
    private Output monitoringType;

    /**
     * @return The type of the monitoring job definition to schedule. Valid values are `DataQuality`, `ModelQuality`, `ModelBias` or `ModelExplainability`
     * 
     */
    public Output monitoringType() {
        return this.monitoringType;
    }

    /**
     * Configures the monitoring schedule. Fields are documented below.
     * 
     */
    @Import(name="scheduleConfig")
    private @Nullable Output scheduleConfig;

    /**
     * @return Configures the monitoring schedule. Fields are documented below.
     * 
     */
    public Optional> scheduleConfig() {
        return Optional.ofNullable(this.scheduleConfig);
    }

    private MonitoringScheduleMonitoringScheduleConfigArgs() {}

    private MonitoringScheduleMonitoringScheduleConfigArgs(MonitoringScheduleMonitoringScheduleConfigArgs $) {
        this.monitoringJobDefinitionName = $.monitoringJobDefinitionName;
        this.monitoringType = $.monitoringType;
        this.scheduleConfig = $.scheduleConfig;
    }

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

    public static final class Builder {
        private MonitoringScheduleMonitoringScheduleConfigArgs $;

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

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

        /**
         * @param monitoringJobDefinitionName The name of the monitoring job definition to schedule.
         * 
         * @return builder
         * 
         */
        public Builder monitoringJobDefinitionName(Output monitoringJobDefinitionName) {
            $.monitoringJobDefinitionName = monitoringJobDefinitionName;
            return this;
        }

        /**
         * @param monitoringJobDefinitionName The name of the monitoring job definition to schedule.
         * 
         * @return builder
         * 
         */
        public Builder monitoringJobDefinitionName(String monitoringJobDefinitionName) {
            return monitoringJobDefinitionName(Output.of(monitoringJobDefinitionName));
        }

        /**
         * @param monitoringType The type of the monitoring job definition to schedule. Valid values are `DataQuality`, `ModelQuality`, `ModelBias` or `ModelExplainability`
         * 
         * @return builder
         * 
         */
        public Builder monitoringType(Output monitoringType) {
            $.monitoringType = monitoringType;
            return this;
        }

        /**
         * @param monitoringType The type of the monitoring job definition to schedule. Valid values are `DataQuality`, `ModelQuality`, `ModelBias` or `ModelExplainability`
         * 
         * @return builder
         * 
         */
        public Builder monitoringType(String monitoringType) {
            return monitoringType(Output.of(monitoringType));
        }

        /**
         * @param scheduleConfig Configures the monitoring schedule. Fields are documented below.
         * 
         * @return builder
         * 
         */
        public Builder scheduleConfig(@Nullable Output scheduleConfig) {
            $.scheduleConfig = scheduleConfig;
            return this;
        }

        /**
         * @param scheduleConfig Configures the monitoring schedule. Fields are documented below.
         * 
         * @return builder
         * 
         */
        public Builder scheduleConfig(MonitoringScheduleMonitoringScheduleConfigScheduleConfigArgs scheduleConfig) {
            return scheduleConfig(Output.of(scheduleConfig));
        }

        public MonitoringScheduleMonitoringScheduleConfigArgs build() {
            if ($.monitoringJobDefinitionName == null) {
                throw new MissingRequiredPropertyException("MonitoringScheduleMonitoringScheduleConfigArgs", "monitoringJobDefinitionName");
            }
            if ($.monitoringType == null) {
                throw new MissingRequiredPropertyException("MonitoringScheduleMonitoringScheduleConfigArgs", "monitoringType");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy