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

com.pulumi.azurenative.machinelearningservices.inputs.ScheduleBaseArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.inputs;

import com.pulumi.azurenative.machinelearningservices.enums.ScheduleProvisioningState;
import com.pulumi.azurenative.machinelearningservices.enums.ScheduleStatus;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ScheduleBaseArgs Empty = new ScheduleBaseArgs();

    /**
     * A system assigned id for the schedule.
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return A system assigned id for the schedule.
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * The current deployment state of schedule.
     * 
     */
    @Import(name="provisioningStatus")
    private @Nullable Output> provisioningStatus;

    /**
     * @return The current deployment state of schedule.
     * 
     */
    public Optional>> provisioningStatus() {
        return Optional.ofNullable(this.provisioningStatus);
    }

    /**
     * Is the schedule enabled or disabled?
     * 
     */
    @Import(name="status")
    private @Nullable Output> status;

    /**
     * @return Is the schedule enabled or disabled?
     * 
     */
    public Optional>> status() {
        return Optional.ofNullable(this.status);
    }

    private ScheduleBaseArgs() {}

    private ScheduleBaseArgs(ScheduleBaseArgs $) {
        this.id = $.id;
        this.provisioningStatus = $.provisioningStatus;
        this.status = $.status;
    }

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

    public static final class Builder {
        private ScheduleBaseArgs $;

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

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

        /**
         * @param id A system assigned id for the schedule.
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id A system assigned id for the schedule.
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param provisioningStatus The current deployment state of schedule.
         * 
         * @return builder
         * 
         */
        public Builder provisioningStatus(@Nullable Output> provisioningStatus) {
            $.provisioningStatus = provisioningStatus;
            return this;
        }

        /**
         * @param provisioningStatus The current deployment state of schedule.
         * 
         * @return builder
         * 
         */
        public Builder provisioningStatus(Either provisioningStatus) {
            return provisioningStatus(Output.of(provisioningStatus));
        }

        /**
         * @param provisioningStatus The current deployment state of schedule.
         * 
         * @return builder
         * 
         */
        public Builder provisioningStatus(String provisioningStatus) {
            return provisioningStatus(Either.ofLeft(provisioningStatus));
        }

        /**
         * @param provisioningStatus The current deployment state of schedule.
         * 
         * @return builder
         * 
         */
        public Builder provisioningStatus(ScheduleProvisioningState provisioningStatus) {
            return provisioningStatus(Either.ofRight(provisioningStatus));
        }

        /**
         * @param status Is the schedule enabled or disabled?
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output> status) {
            $.status = status;
            return this;
        }

        /**
         * @param status Is the schedule enabled or disabled?
         * 
         * @return builder
         * 
         */
        public Builder status(Either status) {
            return status(Output.of(status));
        }

        /**
         * @param status Is the schedule enabled or disabled?
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Either.ofLeft(status));
        }

        /**
         * @param status Is the schedule enabled or disabled?
         * 
         * @return builder
         * 
         */
        public Builder status(ScheduleStatus status) {
            return status(Either.ofRight(status));
        }

        public ScheduleBaseArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy