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

com.pulumi.azurenative.machinelearningservices.outputs.MaterializationSettingsResponse Maven / Gradle / Ivy

There is a newer version: 2.89.2
Show 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.azurenative.machinelearningservices.outputs;

import com.pulumi.azurenative.machinelearningservices.outputs.MaterializationComputeResourceResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.NotificationSettingResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.RecurrenceTriggerResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class MaterializationSettingsResponse {
    /**
     * @return Specifies the notification details
     * 
     */
    private @Nullable NotificationSettingResponse notification;
    /**
     * @return Specifies the compute resource settings
     * 
     */
    private @Nullable MaterializationComputeResourceResponse resource;
    /**
     * @return Specifies the schedule details
     * 
     */
    private @Nullable RecurrenceTriggerResponse schedule;
    /**
     * @return Specifies the spark compute settings
     * 
     */
    private @Nullable Map sparkConfiguration;
    /**
     * @return Specifies the stores to which materialization should happen
     * 
     */
    private @Nullable String storeType;

    private MaterializationSettingsResponse() {}
    /**
     * @return Specifies the notification details
     * 
     */
    public Optional notification() {
        return Optional.ofNullable(this.notification);
    }
    /**
     * @return Specifies the compute resource settings
     * 
     */
    public Optional resource() {
        return Optional.ofNullable(this.resource);
    }
    /**
     * @return Specifies the schedule details
     * 
     */
    public Optional schedule() {
        return Optional.ofNullable(this.schedule);
    }
    /**
     * @return Specifies the spark compute settings
     * 
     */
    public Map sparkConfiguration() {
        return this.sparkConfiguration == null ? Map.of() : this.sparkConfiguration;
    }
    /**
     * @return Specifies the stores to which materialization should happen
     * 
     */
    public Optional storeType() {
        return Optional.ofNullable(this.storeType);
    }

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

    public static Builder builder(MaterializationSettingsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable NotificationSettingResponse notification;
        private @Nullable MaterializationComputeResourceResponse resource;
        private @Nullable RecurrenceTriggerResponse schedule;
        private @Nullable Map sparkConfiguration;
        private @Nullable String storeType;
        public Builder() {}
        public Builder(MaterializationSettingsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.notification = defaults.notification;
    	      this.resource = defaults.resource;
    	      this.schedule = defaults.schedule;
    	      this.sparkConfiguration = defaults.sparkConfiguration;
    	      this.storeType = defaults.storeType;
        }

        @CustomType.Setter
        public Builder notification(@Nullable NotificationSettingResponse notification) {

            this.notification = notification;
            return this;
        }
        @CustomType.Setter
        public Builder resource(@Nullable MaterializationComputeResourceResponse resource) {

            this.resource = resource;
            return this;
        }
        @CustomType.Setter
        public Builder schedule(@Nullable RecurrenceTriggerResponse schedule) {

            this.schedule = schedule;
            return this;
        }
        @CustomType.Setter
        public Builder sparkConfiguration(@Nullable Map sparkConfiguration) {

            this.sparkConfiguration = sparkConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder storeType(@Nullable String storeType) {

            this.storeType = storeType;
            return this;
        }
        public MaterializationSettingsResponse build() {
            final var _resultValue = new MaterializationSettingsResponse();
            _resultValue.notification = notification;
            _resultValue.resource = resource;
            _resultValue.schedule = schedule;
            _resultValue.sparkConfiguration = sparkConfiguration;
            _resultValue.storeType = storeType;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy