public Builder whenDeleted(@Nullable Output<String> whenDeleted) {
            $.whenDeleted = whenDeleted;
            return this;
        }
@param whenDeleted WhenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted. The default policy of `Retain` causes PVCs to not be affected by StatefulSet deletion. The `Delete` policy causes those PVCs to be deleted.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/apps/v1/inputs/StatefulSetPersistentVolumeClaimRetentionPolicyArgs.java