// *** 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.gcp.container.inputs;

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


public final class ClusterMeshCertificatesArgs extends com.pulumi.resources.ResourceArgs {

    public static final ClusterMeshCertificatesArgs Empty = new ClusterMeshCertificatesArgs();

    /**
     * Controls the issuance of workload mTLS certificates. It is enabled by default. Workload Identity is required, see workload_config.
     * 
     */
    @Import(name="enableCertificates", required=true)
    private Output<Boolean> enableCertificates;

    /**
     * @return Controls the issuance of workload mTLS certificates. It is enabled by default. Workload Identity is required, see workload_config.
     * 
     */
    public Output<Boolean> enableCertificates() {
        return this.enableCertificates;
    }

    private ClusterMeshCertificatesArgs() {}

    private ClusterMeshCertificatesArgs(ClusterMeshCertificatesArgs $) {
        this.enableCertificates = $.enableCertificates;
    }

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

    public static final class Builder {
        private ClusterMeshCertificatesArgs $;

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

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

        /**
         * @param enableCertificates Controls the issuance of workload mTLS certificates. It is enabled by default. Workload Identity is required, see workload_config.
         * 
         * @return builder
         * 
         */
        public Builder enableCertificates(Output<Boolean> enableCertificates) {
            $.enableCertificates = enableCertificates;
            return this;
        }

        /**
         * @param enableCertificates Controls the issuance of workload mTLS certificates. It is enabled by default. Workload Identity is required, see workload_config.
         * 
         * @return builder
         * 
         */
        public Builder enableCertificates(Boolean enableCertificates) {
            return enableCertificates(Output.of(enableCertificates));
        }

        public ClusterMeshCertificatesArgs build() {
            $.enableCertificates = Objects.requireNonNull($.enableCertificates, "expected parameter 'enableCertificates' to be non-null");
            return $;
        }
    }

}
