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

com.pulumi.spotinst.spark.inputs.OceanVirtualNodeGroupState 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.spark.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 OceanVirtualNodeGroupState extends com.pulumi.resources.ResourceArgs {

    public static final OceanVirtualNodeGroupState Empty = new OceanVirtualNodeGroupState();

    @Import(name="oceanSparkClusterId")
    private @Nullable Output oceanSparkClusterId;

    public Optional> oceanSparkClusterId() {
        return Optional.ofNullable(this.oceanSparkClusterId);
    }

    @Import(name="virtualNodeGroupId")
    private @Nullable Output virtualNodeGroupId;

    public Optional> virtualNodeGroupId() {
        return Optional.ofNullable(this.virtualNodeGroupId);
    }

    private OceanVirtualNodeGroupState() {}

    private OceanVirtualNodeGroupState(OceanVirtualNodeGroupState $) {
        this.oceanSparkClusterId = $.oceanSparkClusterId;
        this.virtualNodeGroupId = $.virtualNodeGroupId;
    }

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

    public static final class Builder {
        private OceanVirtualNodeGroupState $;

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

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

        public Builder oceanSparkClusterId(@Nullable Output oceanSparkClusterId) {
            $.oceanSparkClusterId = oceanSparkClusterId;
            return this;
        }

        public Builder oceanSparkClusterId(String oceanSparkClusterId) {
            return oceanSparkClusterId(Output.of(oceanSparkClusterId));
        }

        public Builder virtualNodeGroupId(@Nullable Output virtualNodeGroupId) {
            $.virtualNodeGroupId = virtualNodeGroupId;
            return this;
        }

        public Builder virtualNodeGroupId(String virtualNodeGroupId) {
            return virtualNodeGroupId(Output.of(virtualNodeGroupId));
        }

        public OceanVirtualNodeGroupState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy