com.pulumi.aws.sagemaker.outputs.MonitoringScheduleMonitoringScheduleConfig Maven / Gradle / Ivy
// *** 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.aws.sagemaker.outputs.MonitoringScheduleMonitoringScheduleConfigScheduleConfig;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class MonitoringScheduleMonitoringScheduleConfig {
/**
* @return The name of the monitoring job definition to schedule.
*
*/
private String monitoringJobDefinitionName;
/**
* @return The type of the monitoring job definition to schedule. Valid values are `DataQuality`, `ModelQuality`, `ModelBias` or `ModelExplainability`
*
*/
private String monitoringType;
/**
* @return Configures the monitoring schedule. Fields are documented below.
*
*/
private @Nullable MonitoringScheduleMonitoringScheduleConfigScheduleConfig scheduleConfig;
private MonitoringScheduleMonitoringScheduleConfig() {}
/**
* @return The name of the monitoring job definition to schedule.
*
*/
public String monitoringJobDefinitionName() {
return this.monitoringJobDefinitionName;
}
/**
* @return The type of the monitoring job definition to schedule. Valid values are `DataQuality`, `ModelQuality`, `ModelBias` or `ModelExplainability`
*
*/
public String monitoringType() {
return this.monitoringType;
}
/**
* @return Configures the monitoring schedule. Fields are documented below.
*
*/
public Optional scheduleConfig() {
return Optional.ofNullable(this.scheduleConfig);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(MonitoringScheduleMonitoringScheduleConfig defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String monitoringJobDefinitionName;
private String monitoringType;
private @Nullable MonitoringScheduleMonitoringScheduleConfigScheduleConfig scheduleConfig;
public Builder() {}
public Builder(MonitoringScheduleMonitoringScheduleConfig defaults) {
Objects.requireNonNull(defaults);
this.monitoringJobDefinitionName = defaults.monitoringJobDefinitionName;
this.monitoringType = defaults.monitoringType;
this.scheduleConfig = defaults.scheduleConfig;
}
@CustomType.Setter
public Builder monitoringJobDefinitionName(String monitoringJobDefinitionName) {
if (monitoringJobDefinitionName == null) {
throw new MissingRequiredPropertyException("MonitoringScheduleMonitoringScheduleConfig", "monitoringJobDefinitionName");
}
this.monitoringJobDefinitionName = monitoringJobDefinitionName;
return this;
}
@CustomType.Setter
public Builder monitoringType(String monitoringType) {
if (monitoringType == null) {
throw new MissingRequiredPropertyException("MonitoringScheduleMonitoringScheduleConfig", "monitoringType");
}
this.monitoringType = monitoringType;
return this;
}
@CustomType.Setter
public Builder scheduleConfig(@Nullable MonitoringScheduleMonitoringScheduleConfigScheduleConfig scheduleConfig) {
this.scheduleConfig = scheduleConfig;
return this;
}
public MonitoringScheduleMonitoringScheduleConfig build() {
final var _resultValue = new MonitoringScheduleMonitoringScheduleConfig();
_resultValue.monitoringJobDefinitionName = monitoringJobDefinitionName;
_resultValue.monitoringType = monitoringType;
_resultValue.scheduleConfig = scheduleConfig;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy