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

com.pulumi.azurenative.awsconnector.outputs.ClusterTimelineResponse 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.awsconnector.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ClusterTimelineResponse {
    /**
     * @return <p>The creation date and time of the cluster.</p>
     * 
     */
    private @Nullable String creationDateTime;
    /**
     * @return <p>The date and time when the cluster was terminated.</p>
     * 
     */
    private @Nullable String endDateTime;
    /**
     * @return <p>The date and time when the cluster was ready to run steps.</p>
     * 
     */
    private @Nullable String readyDateTime;

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

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

    public static Builder builder(ClusterTimelineResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String creationDateTime;
        private @Nullable String endDateTime;
        private @Nullable String readyDateTime;
        public Builder() {}
        public Builder(ClusterTimelineResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.creationDateTime = defaults.creationDateTime;
    	      this.endDateTime = defaults.endDateTime;
    	      this.readyDateTime = defaults.readyDateTime;
        }

        @CustomType.Setter
        public Builder creationDateTime(@Nullable String creationDateTime) {

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

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

            this.readyDateTime = readyDateTime;
            return this;
        }
        public ClusterTimelineResponse build() {
            final var _resultValue = new ClusterTimelineResponse();
            _resultValue.creationDateTime = creationDateTime;
            _resultValue.endDateTime = endDateTime;
            _resultValue.readyDateTime = readyDateTime;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy