// *** 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.kubernetes.resource.v1alpha1.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with &#34;WaitForFirstConsumer&#34; allocation mode.
 * 
 */
public final class ResourceClaimSchedulingStatusArgs extends com.pulumi.resources.ResourceArgs {

    public static final ResourceClaimSchedulingStatusArgs Empty = new ResourceClaimSchedulingStatusArgs();

    /**
     * Name matches the pod.spec.resourceClaims[*].Name field.
     * 
     */
    @Import(name="name")
    private @Nullable Output<String> name;

    /**
     * @return Name matches the pod.spec.resourceClaims[*].Name field.
     * 
     */
    public Optional<Output<String>> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.
     * 
     * The size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced.
     * 
     */
    @Import(name="unsuitableNodes")
    private @Nullable Output<List<String>> unsuitableNodes;

    /**
     * @return UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.
     * 
     * The size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced.
     * 
     */
    public Optional<Output<List<String>>> unsuitableNodes() {
        return Optional.ofNullable(this.unsuitableNodes);
    }

    private ResourceClaimSchedulingStatusArgs() {}

    private ResourceClaimSchedulingStatusArgs(ResourceClaimSchedulingStatusArgs $) {
        this.name = $.name;
        this.unsuitableNodes = $.unsuitableNodes;
    }

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

    public static final class Builder {
        private ResourceClaimSchedulingStatusArgs $;

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

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

        /**
         * @param name Name matches the pod.spec.resourceClaims[*].Name field.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output<String> name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name matches the pod.spec.resourceClaims[*].Name field.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param unsuitableNodes UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.
         * 
         * The size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced.
         * 
         * @return builder
         * 
         */
        public Builder unsuitableNodes(@Nullable Output<List<String>> unsuitableNodes) {
            $.unsuitableNodes = unsuitableNodes;
            return this;
        }

        /**
         * @param unsuitableNodes UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.
         * 
         * The size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced.
         * 
         * @return builder
         * 
         */
        public Builder unsuitableNodes(List<String> unsuitableNodes) {
            return unsuitableNodes(Output.of(unsuitableNodes));
        }

        /**
         * @param unsuitableNodes UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.
         * 
         * The size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced.
         * 
         * @return builder
         * 
         */
        public Builder unsuitableNodes(String... unsuitableNodes) {
            return unsuitableNodes(List.of(unsuitableNodes));
        }

        public ResourceClaimSchedulingStatusArgs build() {
            return $;
        }
    }

}
