public CustomResourceDefinitionVersionArgs build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("CustomResourceDefinitionVersionArgs", "name");
            }
            if ($.served == null) {
                throw new MissingRequiredPropertyException("CustomResourceDefinitionVersionArgs", "served");
            }
            if ($.storage == null) {
                throw new MissingRequiredPropertyException("CustomResourceDefinitionVersionArgs", "storage");
            }
            return $;
        }
@param subresources subresources specify what subresources this version of the defined custom resource have.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/apiextensions/v1/inputs/CustomResourceDefinitionVersionArgs.java