sdk/java/src/main/java/com/pulumi/ovh/CloudProject/inputs/GetKubeIpRestrictionsPlainArgs.java
// *** 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.ovh.CloudProject.inputs;

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


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

    public static final GetKubeIpRestrictionsPlainArgs Empty = new GetKubeIpRestrictionsPlainArgs();

    /**
     * The id of the managed kubernetes cluster.
     * 
     */
    @Import(name="kubeId", required=true)
    private String kubeId;

    /**
     * @return The id of the managed kubernetes cluster.
     * 
     */
    public String kubeId() {
        return this.kubeId;
    }

    /**
     * The id of the public cloud project. If omitted,
     * the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
     * 
     */
    @Import(name="serviceName", required=true)
    private String serviceName;

    /**
     * @return The id of the public cloud project. If omitted,
     * the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
     * 
     */
    public String serviceName() {
        return this.serviceName;
    }

    private GetKubeIpRestrictionsPlainArgs() {}

    private GetKubeIpRestrictionsPlainArgs(GetKubeIpRestrictionsPlainArgs $) {
        this.kubeId = $.kubeId;
        this.serviceName = $.serviceName;
    }

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

    public static final class Builder {
        private GetKubeIpRestrictionsPlainArgs $;

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

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

        /**
         * @param kubeId The id of the managed kubernetes cluster.
         * 
         * @return builder
         * 
         */
        public Builder kubeId(String kubeId) {
            $.kubeId = kubeId;
            return this;
        }

        /**
         * @param serviceName The id of the public cloud project. If omitted,
         * the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
         * 
         * @return builder
         * 
         */
        public Builder serviceName(String serviceName) {
            $.serviceName = serviceName;
            return this;
        }

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

}
