com.pulumi.linode.inputs.GetLkeClustersLkeClusterControlPlane Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of linode Show documentation
Show all versions of linode Show documentation
A Pulumi package for creating and managing linode cloud resources.
// *** 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