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

com.pulumi.spotinst.gke.inputs.OceanLaunchSpecImportState Maven / Gradle / Ivy

The 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.spotinst.gke.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 OceanLaunchSpecImportState extends com.pulumi.resources.ResourceArgs {

    public static final OceanLaunchSpecImportState Empty = new OceanLaunchSpecImportState();

    /**
     * The node pool you wish to use in your launchSpec.
     * 
     */
    @Import(name="nodePoolName")
    private @Nullable Output nodePoolName;

    /**
     * @return The node pool you wish to use in your launchSpec.
     * 
     */
    public Optional> nodePoolName() {
        return Optional.ofNullable(this.nodePoolName);
    }

    /**
     * The Ocean cluster ID required for launchSpec create.
     * 
     */
    @Import(name="oceanId")
    private @Nullable Output oceanId;

    /**
     * @return The Ocean cluster ID required for launchSpec create.
     * 
     */
    public Optional> oceanId() {
        return Optional.ofNullable(this.oceanId);
    }

    private OceanLaunchSpecImportState() {}

    private OceanLaunchSpecImportState(OceanLaunchSpecImportState $) {
        this.nodePoolName = $.nodePoolName;
        this.oceanId = $.oceanId;
    }

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

    public static final class Builder {
        private OceanLaunchSpecImportState $;

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

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

        /**
         * @param nodePoolName The node pool you wish to use in your launchSpec.
         * 
         * @return builder
         * 
         */
        public Builder nodePoolName(@Nullable Output nodePoolName) {
            $.nodePoolName = nodePoolName;
            return this;
        }

        /**
         * @param nodePoolName The node pool you wish to use in your launchSpec.
         * 
         * @return builder
         * 
         */
        public Builder nodePoolName(String nodePoolName) {
            return nodePoolName(Output.of(nodePoolName));
        }

        /**
         * @param oceanId The Ocean cluster ID required for launchSpec create.
         * 
         * @return builder
         * 
         */
        public Builder oceanId(@Nullable Output oceanId) {
            $.oceanId = oceanId;
            return this;
        }

        /**
         * @param oceanId The Ocean cluster ID required for launchSpec create.
         * 
         * @return builder
         * 
         */
        public Builder oceanId(String oceanId) {
            return oceanId(Output.of(oceanId));
        }

        public OceanLaunchSpecImportState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy