public ResourceClaimTemplateSpecArgs build() {
            if ($.spec == null) {
                throw new MissingRequiredPropertyException("ResourceClaimTemplateSpecArgs", "spec");
            }
            return $;
        }
@param spec Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here.

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