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

com.pulumi.alicloud.datahub.inputs.ProjectState Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
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.alicloud.datahub.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;


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

    public static final ProjectState Empty = new ProjectState();

    /**
     * Comment of the datahub project. It cannot be longer than 255 characters.
     * 
     */
    @Import(name="comment")
    private @Nullable Output comment;

    /**
     * @return Comment of the datahub project. It cannot be longer than 255 characters.
     * 
     */
    public Optional> comment() {
        return Optional.ofNullable(this.comment);
    }

    /**
     * Create time of the datahub project. It is a human-readable string rather than 64-bits UTC.
     * 
     */
    @Import(name="createTime")
    private @Nullable Output createTime;

    /**
     * @return Create time of the datahub project. It is a human-readable string rather than 64-bits UTC.
     * 
     */
    public Optional> createTime() {
        return Optional.ofNullable(this.createTime);
    }

    /**
     * Last modify time of the datahub project. It is the same as *create_time* at the beginning. It is also a human-readable string rather than 64-bits UTC.
     * 
     */
    @Import(name="lastModifyTime")
    private @Nullable Output lastModifyTime;

    /**
     * @return Last modify time of the datahub project. It is the same as *create_time* at the beginning. It is also a human-readable string rather than 64-bits UTC.
     * 
     */
    public Optional> lastModifyTime() {
        return Optional.ofNullable(this.lastModifyTime);
    }

    /**
     * The name of the datahub project. Its length is limited to 3-32 and only characters such as letters, digits and '_' are allowed. It is case-insensitive.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the datahub project. Its length is limited to 3-32 and only characters such as letters, digits and '_' are allowed. It is case-insensitive.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    private ProjectState() {}

    private ProjectState(ProjectState $) {
        this.comment = $.comment;
        this.createTime = $.createTime;
        this.lastModifyTime = $.lastModifyTime;
        this.name = $.name;
    }

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

    public static final class Builder {
        private ProjectState $;

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

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

        /**
         * @param comment Comment of the datahub project. It cannot be longer than 255 characters.
         * 
         * @return builder
         * 
         */
        public Builder comment(@Nullable Output comment) {
            $.comment = comment;
            return this;
        }

        /**
         * @param comment Comment of the datahub project. It cannot be longer than 255 characters.
         * 
         * @return builder
         * 
         */
        public Builder comment(String comment) {
            return comment(Output.of(comment));
        }

        /**
         * @param createTime Create time of the datahub project. It is a human-readable string rather than 64-bits UTC.
         * 
         * @return builder
         * 
         */
        public Builder createTime(@Nullable Output createTime) {
            $.createTime = createTime;
            return this;
        }

        /**
         * @param createTime Create time of the datahub project. It is a human-readable string rather than 64-bits UTC.
         * 
         * @return builder
         * 
         */
        public Builder createTime(String createTime) {
            return createTime(Output.of(createTime));
        }

        /**
         * @param lastModifyTime Last modify time of the datahub project. It is the same as *create_time* at the beginning. It is also a human-readable string rather than 64-bits UTC.
         * 
         * @return builder
         * 
         */
        public Builder lastModifyTime(@Nullable Output lastModifyTime) {
            $.lastModifyTime = lastModifyTime;
            return this;
        }

        /**
         * @param lastModifyTime Last modify time of the datahub project. It is the same as *create_time* at the beginning. It is also a human-readable string rather than 64-bits UTC.
         * 
         * @return builder
         * 
         */
        public Builder lastModifyTime(String lastModifyTime) {
            return lastModifyTime(Output.of(lastModifyTime));
        }

        /**
         * @param name The name of the datahub project. Its length is limited to 3-32 and only characters such as letters, digits and '_' are allowed. It is case-insensitive.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the datahub project. Its length is limited to 3-32 and only characters such as letters, digits and '_' are allowed. It is case-insensitive.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public ProjectState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy