com.pulumi.linode.outputs.LkeClusterControlPlane 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.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.linode.outputs.LkeClusterControlPlaneAcl;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class LkeClusterControlPlane {
/**
* @return Defines the ACL configuration for an LKE cluster's control plane.
*
*/
private @Nullable LkeClusterControlPlaneAcl acl;
/**
* @return Defines whether High Availability is enabled for the cluster Control Plane. This is an **irreversible** change.
*
* * `acl` - (Optional) Defines the ACL configuration for an LKE cluster's control plane. **NOTE: Control Plane ACLs may not currently be available to all users.**
*
*/
private @Nullable Boolean highAvailability;
private LkeClusterControlPlane() {}
/**
* @return Defines the ACL configuration for an LKE cluster's control plane.
*
*/
public Optional acl() {
return Optional.ofNullable(this.acl);
}
/**
* @return Defines whether High Availability is enabled for the cluster Control Plane. This is an **irreversible** change.
*
* * `acl` - (Optional) Defines the ACL configuration for an LKE cluster's control plane. **NOTE: Control Plane ACLs may not currently be available to all users.**
*
*/
public Optional highAvailability() {
return Optional.ofNullable(this.highAvailability);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LkeClusterControlPlane defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable LkeClusterControlPlaneAcl acl;
private @Nullable Boolean highAvailability;
public Builder() {}
public Builder(LkeClusterControlPlane defaults) {
Objects.requireNonNull(defaults);
this.acl = defaults.acl;
this.highAvailability = defaults.highAvailability;
}
@CustomType.Setter
public Builder acl(@Nullable LkeClusterControlPlaneAcl acl) {
this.acl = acl;
return this;
}
@CustomType.Setter
public Builder highAvailability(@Nullable Boolean highAvailability) {
this.highAvailability = highAvailability;
return this;
}
public LkeClusterControlPlane build() {
final var _resultValue = new LkeClusterControlPlane();
_resultValue.acl = acl;
_resultValue.highAvailability = highAvailability;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy