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

com.pulumi.azurenative.awsconnector.inputs.ClusterTimelineArgs Maven / Gradle / Ivy

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

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;


/**
 * Definition of ClusterTimeline
 * 
 */
public final class ClusterTimelineArgs extends com.pulumi.resources.ResourceArgs {

    public static final ClusterTimelineArgs Empty = new ClusterTimelineArgs();

    /**
     * <p>The creation date and time of the cluster.</p>
     * 
     */
    @Import(name="creationDateTime")
    private @Nullable Output creationDateTime;

    /**
     * @return <p>The creation date and time of the cluster.</p>
     * 
     */
    public Optional> creationDateTime() {
        return Optional.ofNullable(this.creationDateTime);
    }

    /**
     * <p>The date and time when the cluster was terminated.</p>
     * 
     */
    @Import(name="endDateTime")
    private @Nullable Output endDateTime;

    /**
     * @return <p>The date and time when the cluster was terminated.</p>
     * 
     */
    public Optional> endDateTime() {
        return Optional.ofNullable(this.endDateTime);
    }

    /**
     * <p>The date and time when the cluster was ready to run steps.</p>
     * 
     */
    @Import(name="readyDateTime")
    private @Nullable Output readyDateTime;

    /**
     * @return <p>The date and time when the cluster was ready to run steps.</p>
     * 
     */
    public Optional> readyDateTime() {
        return Optional.ofNullable(this.readyDateTime);
    }

    private ClusterTimelineArgs() {}

    private ClusterTimelineArgs(ClusterTimelineArgs $) {
        this.creationDateTime = $.creationDateTime;
        this.endDateTime = $.endDateTime;
        this.readyDateTime = $.readyDateTime;
    }

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

    public static final class Builder {
        private ClusterTimelineArgs $;

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

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

        /**
         * @param creationDateTime <p>The creation date and time of the cluster.</p>
         * 
         * @return builder
         * 
         */
        public Builder creationDateTime(@Nullable Output creationDateTime) {
            $.creationDateTime = creationDateTime;
            return this;
        }

        /**
         * @param creationDateTime <p>The creation date and time of the cluster.</p>
         * 
         * @return builder
         * 
         */
        public Builder creationDateTime(String creationDateTime) {
            return creationDateTime(Output.of(creationDateTime));
        }

        /**
         * @param endDateTime <p>The date and time when the cluster was terminated.</p>
         * 
         * @return builder
         * 
         */
        public Builder endDateTime(@Nullable Output endDateTime) {
            $.endDateTime = endDateTime;
            return this;
        }

        /**
         * @param endDateTime <p>The date and time when the cluster was terminated.</p>
         * 
         * @return builder
         * 
         */
        public Builder endDateTime(String endDateTime) {
            return endDateTime(Output.of(endDateTime));
        }

        /**
         * @param readyDateTime <p>The date and time when the cluster was ready to run steps.</p>
         * 
         * @return builder
         * 
         */
        public Builder readyDateTime(@Nullable Output readyDateTime) {
            $.readyDateTime = readyDateTime;
            return this;
        }

        /**
         * @param readyDateTime <p>The date and time when the cluster was ready to run steps.</p>
         * 
         * @return builder
         * 
         */
        public Builder readyDateTime(String readyDateTime) {
            return readyDateTime(Output.of(readyDateTime));
        }

        public ClusterTimelineArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy