public ResourceClaimTemplateArgs build() {
            $.apiVersion = Codegen.stringProp("apiVersion").output().arg($.apiVersion).getNullable();
            $.kind = Codegen.stringProp("kind").output().arg($.kind).getNullable();
            if ($.spec == null) {
                throw new MissingRequiredPropertyException("ResourceClaimTemplateArgs", "spec");
            }
            return $;
        }
@param spec Describes the ResourceClaim that is to be generated.

This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/resource/v1beta1/inputs/ResourceClaimTemplateArgs.java