public CSIStorageCapacityArgs build() {
            $.apiVersion = Codegen.stringProp("apiVersion").output().arg($.apiVersion).getNullable();
            $.kind = Codegen.stringProp("kind").output().arg($.kind).getNullable();
            if ($.storageClassName == null) {
                throw new MissingRequiredPropertyException("CSIStorageCapacityArgs", "storageClassName");
            }
            return $;
        }
@param storageClassName storageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/storage/v1/inputs/CSIStorageCapacityArgs.java