// *** 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.gcp.cloudrunv2.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 JobLatestCreatedExecution {
    /**
     * @return (Output)
     * Completion timestamp of the execution.
     * A timestamp in RFC3339 UTC &#34;Zulu&#34; format, with nanosecond resolution and up to nine fractional digits. Examples: &#34;2014-10-02T15:01:23Z&#34; and &#34;2014-10-02T15:01:23.045123456Z&#34;.
     * 
     */
    private @Nullable String completionTime;
    /**
     * @return (Output)
     * Creation timestamp of the execution.
     * A timestamp in RFC3339 UTC &#34;Zulu&#34; format, with nanosecond resolution and up to nine fractional digits. Examples: &#34;2014-10-02T15:01:23Z&#34; and &#34;2014-10-02T15:01:23.045123456Z&#34;.
     * 
     */
    private @Nullable String createTime;
    /**
     * @return Name of the Job.
     * 
     */
    private @Nullable String name;

    private JobLatestCreatedExecution() {}
    /**
     * @return (Output)
     * Completion timestamp of the execution.
     * A timestamp in RFC3339 UTC &#34;Zulu&#34; format, with nanosecond resolution and up to nine fractional digits. Examples: &#34;2014-10-02T15:01:23Z&#34; and &#34;2014-10-02T15:01:23.045123456Z&#34;.
     * 
     */
    public Optional<String> completionTime() {
        return Optional.ofNullable(this.completionTime);
    }
    /**
     * @return (Output)
     * Creation timestamp of the execution.
     * A timestamp in RFC3339 UTC &#34;Zulu&#34; format, with nanosecond resolution and up to nine fractional digits. Examples: &#34;2014-10-02T15:01:23Z&#34; and &#34;2014-10-02T15:01:23.045123456Z&#34;.
     * 
     */
    public Optional<String> createTime() {
        return Optional.ofNullable(this.createTime);
    }
    /**
     * @return Name of the Job.
     * 
     */
    public Optional<String> name() {
        return Optional.ofNullable(this.name);
    }

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

    public static Builder builder(JobLatestCreatedExecution defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String completionTime;
        private @Nullable String createTime;
        private @Nullable String name;
        public Builder() {}
        public Builder(JobLatestCreatedExecution defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.completionTime = defaults.completionTime;
    	      this.createTime = defaults.createTime;
    	      this.name = defaults.name;
        }

        @CustomType.Setter
        public Builder completionTime(@Nullable String completionTime) {
            this.completionTime = completionTime;
            return this;
        }
        @CustomType.Setter
        public Builder createTime(@Nullable String createTime) {
            this.createTime = createTime;
            return this;
        }
        @CustomType.Setter
        public Builder name(@Nullable String name) {
            this.name = name;
            return this;
        }
        public JobLatestCreatedExecution build() {
            final var o = new JobLatestCreatedExecution();
            o.completionTime = completionTime;
            o.createTime = createTime;
            o.name = name;
            return o;
        }
    }
}
