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

com.pulumi.digitalocean.inputs.KubernetesNodePoolNodeArgs Maven / Gradle / Ivy

There is a newer version: 4.35.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.digitalocean.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 KubernetesNodePoolNodeArgs extends com.pulumi.resources.ResourceArgs {

    public static final KubernetesNodePoolNodeArgs Empty = new KubernetesNodePoolNodeArgs();

    /**
     * The date and time when the node was created.
     * 
     */
    @Import(name="createdAt")
    private @Nullable Output createdAt;

    /**
     * @return The date and time when the node was created.
     * 
     */
    public Optional> createdAt() {
        return Optional.ofNullable(this.createdAt);
    }

    /**
     * The id of the node's droplet
     * 
     */
    @Import(name="dropletId")
    private @Nullable Output dropletId;

    /**
     * @return The id of the node's droplet
     * 
     */
    public Optional> dropletId() {
        return Optional.ofNullable(this.dropletId);
    }

    /**
     * A unique ID that can be used to identify and reference the node.
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return A unique ID that can be used to identify and reference the node.
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * A name for the node pool.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return A name for the node pool.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * A string indicating the current status of the individual node.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return A string indicating the current status of the individual node.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    /**
     * The date and time when the node was last updated.
     * 
     */
    @Import(name="updatedAt")
    private @Nullable Output updatedAt;

    /**
     * @return The date and time when the node was last updated.
     * 
     */
    public Optional> updatedAt() {
        return Optional.ofNullable(this.updatedAt);
    }

    private KubernetesNodePoolNodeArgs() {}

    private KubernetesNodePoolNodeArgs(KubernetesNodePoolNodeArgs $) {
        this.createdAt = $.createdAt;
        this.dropletId = $.dropletId;
        this.id = $.id;
        this.name = $.name;
        this.status = $.status;
        this.updatedAt = $.updatedAt;
    }

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

    public static final class Builder {
        private KubernetesNodePoolNodeArgs $;

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

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

        /**
         * @param createdAt The date and time when the node was created.
         * 
         * @return builder
         * 
         */
        public Builder createdAt(@Nullable Output createdAt) {
            $.createdAt = createdAt;
            return this;
        }

        /**
         * @param createdAt The date and time when the node was created.
         * 
         * @return builder
         * 
         */
        public Builder createdAt(String createdAt) {
            return createdAt(Output.of(createdAt));
        }

        /**
         * @param dropletId The id of the node's droplet
         * 
         * @return builder
         * 
         */
        public Builder dropletId(@Nullable Output dropletId) {
            $.dropletId = dropletId;
            return this;
        }

        /**
         * @param dropletId The id of the node's droplet
         * 
         * @return builder
         * 
         */
        public Builder dropletId(String dropletId) {
            return dropletId(Output.of(dropletId));
        }

        /**
         * @param id A unique ID that can be used to identify and reference the node.
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id A unique ID that can be used to identify and reference the node.
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param name A name for the node pool.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name A name for the node pool.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param status A string indicating the current status of the individual node.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status A string indicating the current status of the individual node.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        /**
         * @param updatedAt The date and time when the node was last updated.
         * 
         * @return builder
         * 
         */
        public Builder updatedAt(@Nullable Output updatedAt) {
            $.updatedAt = updatedAt;
            return this;
        }

        /**
         * @param updatedAt The date and time when the node was last updated.
         * 
         * @return builder
         * 
         */
        public Builder updatedAt(String updatedAt) {
            return updatedAt(Output.of(updatedAt));
        }

        public KubernetesNodePoolNodeArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy