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

com.pulumi.linode.outputs.LkeClusterControlPlane 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.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