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

com.pulumi.azurenative.machinelearningservices.inputs.MaterializationSettingsArgs 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.azurenative.machinelearningservices.inputs;

import com.pulumi.azurenative.machinelearningservices.enums.MaterializationStoreType;
import com.pulumi.azurenative.machinelearningservices.inputs.MaterializationComputeResourceArgs;
import com.pulumi.azurenative.machinelearningservices.inputs.NotificationSettingArgs;
import com.pulumi.azurenative.machinelearningservices.inputs.RecurrenceTriggerArgs;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final MaterializationSettingsArgs Empty = new MaterializationSettingsArgs();

    /**
     * Specifies the notification details
     * 
     */
    @Import(name="notification")
    private @Nullable Output notification;

    /**
     * @return Specifies the notification details
     * 
     */
    public Optional> notification() {
        return Optional.ofNullable(this.notification);
    }

    /**
     * Specifies the compute resource settings
     * 
     */
    @Import(name="resource")
    private @Nullable Output resource;

    /**
     * @return Specifies the compute resource settings
     * 
     */
    public Optional> resource() {
        return Optional.ofNullable(this.resource);
    }

    /**
     * Specifies the schedule details
     * 
     */
    @Import(name="schedule")
    private @Nullable Output schedule;

    /**
     * @return Specifies the schedule details
     * 
     */
    public Optional> schedule() {
        return Optional.ofNullable(this.schedule);
    }

    /**
     * Specifies the spark compute settings
     * 
     */
    @Import(name="sparkConfiguration")
    private @Nullable Output> sparkConfiguration;

    /**
     * @return Specifies the spark compute settings
     * 
     */
    public Optional>> sparkConfiguration() {
        return Optional.ofNullable(this.sparkConfiguration);
    }

    /**
     * Specifies the stores to which materialization should happen
     * 
     */
    @Import(name="storeType")
    private @Nullable Output> storeType;

    /**
     * @return Specifies the stores to which materialization should happen
     * 
     */
    public Optional>> storeType() {
        return Optional.ofNullable(this.storeType);
    }

    private MaterializationSettingsArgs() {}

    private MaterializationSettingsArgs(MaterializationSettingsArgs $) {
        this.notification = $.notification;
        this.resource = $.resource;
        this.schedule = $.schedule;
        this.sparkConfiguration = $.sparkConfiguration;
        this.storeType = $.storeType;
    }

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

    public static final class Builder {
        private MaterializationSettingsArgs $;

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

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

        /**
         * @param notification Specifies the notification details
         * 
         * @return builder
         * 
         */
        public Builder notification(@Nullable Output notification) {
            $.notification = notification;
            return this;
        }

        /**
         * @param notification Specifies the notification details
         * 
         * @return builder
         * 
         */
        public Builder notification(NotificationSettingArgs notification) {
            return notification(Output.of(notification));
        }

        /**
         * @param resource Specifies the compute resource settings
         * 
         * @return builder
         * 
         */
        public Builder resource(@Nullable Output resource) {
            $.resource = resource;
            return this;
        }

        /**
         * @param resource Specifies the compute resource settings
         * 
         * @return builder
         * 
         */
        public Builder resource(MaterializationComputeResourceArgs resource) {
            return resource(Output.of(resource));
        }

        /**
         * @param schedule Specifies the schedule details
         * 
         * @return builder
         * 
         */
        public Builder schedule(@Nullable Output schedule) {
            $.schedule = schedule;
            return this;
        }

        /**
         * @param schedule Specifies the schedule details
         * 
         * @return builder
         * 
         */
        public Builder schedule(RecurrenceTriggerArgs schedule) {
            return schedule(Output.of(schedule));
        }

        /**
         * @param sparkConfiguration Specifies the spark compute settings
         * 
         * @return builder
         * 
         */
        public Builder sparkConfiguration(@Nullable Output> sparkConfiguration) {
            $.sparkConfiguration = sparkConfiguration;
            return this;
        }

        /**
         * @param sparkConfiguration Specifies the spark compute settings
         * 
         * @return builder
         * 
         */
        public Builder sparkConfiguration(Map sparkConfiguration) {
            return sparkConfiguration(Output.of(sparkConfiguration));
        }

        /**
         * @param storeType Specifies the stores to which materialization should happen
         * 
         * @return builder
         * 
         */
        public Builder storeType(@Nullable Output> storeType) {
            $.storeType = storeType;
            return this;
        }

        /**
         * @param storeType Specifies the stores to which materialization should happen
         * 
         * @return builder
         * 
         */
        public Builder storeType(Either storeType) {
            return storeType(Output.of(storeType));
        }

        /**
         * @param storeType Specifies the stores to which materialization should happen
         * 
         * @return builder
         * 
         */
        public Builder storeType(String storeType) {
            return storeType(Either.ofLeft(storeType));
        }

        /**
         * @param storeType Specifies the stores to which materialization should happen
         * 
         * @return builder
         * 
         */
        public Builder storeType(MaterializationStoreType storeType) {
            return storeType(Either.ofRight(storeType));
        }

        public MaterializationSettingsArgs build() {
            $.storeType = Codegen.stringProp("storeType").left(MaterializationStoreType.class).output().arg($.storeType).def("None").getNullable();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy