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

com.pulumi.linode.inputs.GetLkeClustersLkeClusterControlPlane Maven / Gradle / Ivy

There is a newer version: 4.31.0-alpha.1732773076
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.linode.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.util.Objects;


public final class GetLkeClustersLkeClusterControlPlane extends com.pulumi.resources.InvokeArgs {

    public static final GetLkeClustersLkeClusterControlPlane Empty = new GetLkeClustersLkeClusterControlPlane();

    /**
     * Whether High Availability is enabled for the cluster Control Plane.
     * 
     */
    @Import(name="highAvailability", required=true)
    private Boolean highAvailability;

    /**
     * @return Whether High Availability is enabled for the cluster Control Plane.
     * 
     */
    public Boolean highAvailability() {
        return this.highAvailability;
    }

    private GetLkeClustersLkeClusterControlPlane() {}

    private GetLkeClustersLkeClusterControlPlane(GetLkeClustersLkeClusterControlPlane $) {
        this.highAvailability = $.highAvailability;
    }

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

    public static final class Builder {
        private GetLkeClustersLkeClusterControlPlane $;

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

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

        /**
         * @param highAvailability Whether High Availability is enabled for the cluster Control Plane.
         * 
         * @return builder
         * 
         */
        public Builder highAvailability(Boolean highAvailability) {
            $.highAvailability = highAvailability;
            return this;
        }

        public GetLkeClustersLkeClusterControlPlane build() {
            if ($.highAvailability == null) {
                throw new MissingRequiredPropertyException("GetLkeClustersLkeClusterControlPlane", "highAvailability");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy